home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / GB.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  262KB  |  7,232 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"    xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  3.     <xsl:output method="html" encoding="us-ascii"/>
  4.  
  5.  
  6.  
  7.  
  8.     
  9.     <xsl:template match="*" mode="outputHtml2">
  10.             <xsl:apply-templates mode="outputHtml"/>        
  11.     </xsl:template>
  12.  
  13.     <xsl:template name="StringFormatDot">
  14.         <xsl:param name="format" />
  15.         <xsl:param name="parameters" />
  16.  
  17.     <xsl:variable name="prop_EndChars">
  18.       <xsl:call-template name="templ_prop_EndChars"/>
  19.     </xsl:variable>
  20.  
  21.     <xsl:choose>
  22.             <xsl:when test="$format = ''"></xsl:when>
  23.             <xsl:when test="substring($format, 1, 2) = '%%'">
  24.                 <xsl:text>%</xsl:text>
  25.                 <xsl:call-template name="StringFormatDot">
  26.                     <xsl:with-param name="format" select="substring($format, 3)" />
  27.                     <xsl:with-param name="parameters" select="$parameters" />
  28.                 </xsl:call-template>
  29.                 <xsl:if test="string-length($format)=2">
  30.                     <xsl:call-template name="templ_prop_Dot"/>
  31.                 </xsl:if>
  32.             </xsl:when>
  33.             <xsl:when test="substring($format, 1, 1) = '%'">
  34.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  35.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  36.                 <xsl:call-template name="StringFormatDot">
  37.                     <xsl:with-param name="format" select="substring($format, 3)" />
  38.                     <xsl:with-param name="parameters" select="$parameters" />
  39.                 </xsl:call-template>
  40.                 <xsl:if test="string-length($format)=2">
  41.                     <xsl:variable name="temp2">
  42.                         <xsl:call-template name="handleSpaces">
  43.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  44.                         </xsl:call-template>
  45.                     </xsl:variable>                
  46.                     <xsl:variable name="lastChar">
  47.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  48.                     </xsl:variable>
  49.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>    
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.  
  99.  
  100.  
  101.  
  102.  
  103.   <xsl:template name="localLCID">
  104.     <xsl:param name="LCID"/>
  105.  
  106.     <xsl:variable name="_LCID1">
  107.       <xsl:choose>
  108.         <xsl:when test="$LCID!='0' and $LCID!=''">
  109.           <xsl:value-of select="$LCID"/>
  110.         </xsl:when>
  111.         <xsl:when test="/b:Citation">
  112.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  113.         </xsl:when>
  114.         <xsl:when test="b:LCID">
  115.           <xsl:value-of select="b:LCID"/>
  116.         </xsl:when>
  117.         <xsl:when test="../b:LCID">
  118.           <xsl:value-of select="../b:LCID"/>
  119.         </xsl:when>
  120.         <xsl:when test="../../b:LCID">
  121.           <xsl:value-of select="../../b:LCID"/>
  122.         </xsl:when>
  123.         <xsl:when test="../../../b:LCID">
  124.           <xsl:value-of select="../../../b:LCID"/>
  125.         </xsl:when>
  126.         <xsl:when test="../../../../b:LCID">
  127.           <xsl:value-of select="../../../../b:LCID"/>
  128.         </xsl:when>
  129.         <xsl:when test="../../../../b:LCID">
  130.           <xsl:value-of select="../../../../b:LCID"/>
  131.         </xsl:when>
  132.         <xsl:when test="../../../../../b:LCID">
  133.           <xsl:value-of select="../../../../../b:LCID"/>
  134.         </xsl:when>
  135.         <xsl:otherwise>
  136.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  137.         </xsl:otherwise>
  138.       </xsl:choose>
  139.     </xsl:variable>
  140.  
  141.     <xsl:choose>
  142.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  143.         <xsl:value-of select="$_LCID1"/>
  144.       </xsl:when>
  145.       <xsl:otherwise>
  146.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  147.       </xsl:otherwise>
  148.     </xsl:choose>
  149.  
  150.   </xsl:template>
  151.  
  152.   
  153.   <xsl:template name="templ_prop_NoItalics" >
  154.     <xsl:param name="LCID" />
  155.     <xsl:variable name="_LCID">
  156.       <xsl:call-template name="localLCID">
  157.         <xsl:with-param name="LCID" select="$LCID"/>
  158.       </xsl:call-template>
  159.     </xsl:variable>
  160.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoItalics"/>
  161.   </xsl:template>
  162.  
  163.   
  164.   <xsl:template name="templ_prop_TitleOpen" >
  165.     <xsl:param name="LCID" />
  166.     <xsl:variable name="_LCID">
  167.       <xsl:call-template name="localLCID">
  168.         <xsl:with-param name="LCID" select="$LCID"/>
  169.       </xsl:call-template>
  170.     </xsl:variable>
  171.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleOpen"/>
  172.   </xsl:template>
  173.  
  174.   
  175.   <xsl:template name="templ_prop_TitleClose" >
  176.     <xsl:param name="LCID" />
  177.     <xsl:variable name="_LCID">
  178.       <xsl:call-template name="localLCID">
  179.         <xsl:with-param name="LCID" select="$LCID"/>
  180.       </xsl:call-template>
  181.     </xsl:variable>
  182.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleClose"/>
  183.   </xsl:template>  
  184.  
  185.  
  186.   
  187.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  188.     <xsl:param name="LCID" />
  189.     <xsl:variable name="_LCID">
  190.       <xsl:call-template name="localLCID">
  191.         <xsl:with-param name="LCID" select="$LCID"/>
  192.       </xsl:call-template>
  193.     </xsl:variable>
  194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  195.   </xsl:template>
  196.  
  197.   
  198.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  199.     <xsl:param name="LCID" />
  200.     <xsl:variable name="_LCID">
  201.       <xsl:call-template name="localLCID">
  202.         <xsl:with-param name="LCID" select="$LCID"/>
  203.       </xsl:call-template>
  204.     </xsl:variable>
  205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  206.   </xsl:template>
  207.  
  208.   
  209.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  210.     <xsl:param name="LCID" />
  211.     <xsl:variable name="_LCID">
  212.       <xsl:call-template name="localLCID">
  213.         <xsl:with-param name="LCID" select="$LCID"/>
  214.       </xsl:call-template>
  215.     </xsl:variable>
  216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  217.   </xsl:template>
  218.  
  219.   
  220.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  221.     <xsl:param name="LCID" />
  222.     <xsl:variable name="_LCID">
  223.       <xsl:call-template name="localLCID">
  224.         <xsl:with-param name="LCID" select="$LCID"/>
  225.       </xsl:call-template>
  226.     </xsl:variable>
  227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  228.   </xsl:template>
  229.  
  230.   
  231.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  232.     <xsl:param name="LCID" />
  233.     <xsl:variable name="_LCID">
  234.       <xsl:call-template name="localLCID">
  235.         <xsl:with-param name="LCID" select="$LCID"/>
  236.       </xsl:call-template>
  237.     </xsl:variable>
  238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  239.   </xsl:template>
  240.  
  241.   
  242.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  243.     <xsl:param name="LCID" />
  244.     <xsl:variable name="_LCID">
  245.       <xsl:call-template name="localLCID">
  246.         <xsl:with-param name="LCID" select="$LCID"/>
  247.       </xsl:call-template>
  248.     </xsl:variable>
  249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  250.   </xsl:template>
  251.  
  252.   
  253.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  254.     <xsl:param name="LCID" />
  255.     <xsl:variable name="_LCID">
  256.       <xsl:call-template name="localLCID">
  257.         <xsl:with-param name="LCID" select="$LCID"/>
  258.       </xsl:call-template>
  259.     </xsl:variable>
  260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  261.   </xsl:template>
  262.  
  263.   
  264.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  265.     <xsl:param name="LCID" />
  266.     <xsl:variable name="_LCID">
  267.       <xsl:call-template name="localLCID">
  268.         <xsl:with-param name="LCID" select="$LCID"/>
  269.       </xsl:call-template>
  270.     </xsl:variable>
  271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  272.   </xsl:template>
  273.  
  274.   
  275.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  276.     <xsl:param name="LCID" />
  277.     <xsl:variable name="_LCID">
  278.       <xsl:call-template name="localLCID">
  279.         <xsl:with-param name="LCID" select="$LCID"/>
  280.       </xsl:call-template>
  281.     </xsl:variable>
  282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  283.   </xsl:template>
  284.  
  285.   
  286.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  287.     <xsl:param name="LCID" />
  288.     <xsl:variable name="_LCID">
  289.       <xsl:call-template name="localLCID">
  290.         <xsl:with-param name="LCID" select="$LCID"/>
  291.       </xsl:call-template>
  292.     </xsl:variable>
  293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  294.   </xsl:template>
  295.  
  296.   
  297.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  298.     <xsl:param name="LCID" />
  299.     <xsl:variable name="_LCID">
  300.       <xsl:call-template name="localLCID">
  301.         <xsl:with-param name="LCID" select="$LCID"/>
  302.       </xsl:call-template>
  303.     </xsl:variable>
  304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  305.   </xsl:template>
  306.  
  307.   
  308.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  309.     <xsl:param name="LCID" />
  310.     <xsl:variable name="_LCID">
  311.       <xsl:call-template name="localLCID">
  312.         <xsl:with-param name="LCID" select="$LCID"/>
  313.       </xsl:call-template>
  314.     </xsl:variable>
  315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  316.   </xsl:template>
  317.  
  318.   
  319.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  320.     <xsl:param name="LCID" />
  321.     <xsl:variable name="_LCID">
  322.       <xsl:call-template name="localLCID">
  323.         <xsl:with-param name="LCID" select="$LCID"/>
  324.       </xsl:call-template>
  325.     </xsl:variable>
  326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  327.   </xsl:template>
  328.  
  329.   
  330.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  331.     <xsl:param name="LCID" />
  332.     <xsl:variable name="_LCID">
  333.       <xsl:call-template name="localLCID">
  334.         <xsl:with-param name="LCID" select="$LCID"/>
  335.       </xsl:call-template>
  336.     </xsl:variable>
  337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  338.   </xsl:template>
  339.  
  340.   
  341.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  342.     <xsl:param name="LCID" />
  343.     <xsl:variable name="_LCID">
  344.       <xsl:call-template name="localLCID">
  345.         <xsl:with-param name="LCID" select="$LCID"/>
  346.       </xsl:call-template>
  347.     </xsl:variable>
  348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  349.   </xsl:template>
  350.  
  351.   
  352.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  353.     <xsl:param name="LCID" />
  354.     <xsl:variable name="_LCID">
  355.       <xsl:call-template name="localLCID">
  356.         <xsl:with-param name="LCID" select="$LCID"/>
  357.       </xsl:call-template>
  358.     </xsl:variable>
  359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  360.   </xsl:template>
  361.  
  362.   
  363.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  364.     <xsl:param name="LCID" />
  365.     <xsl:variable name="_LCID">
  366.       <xsl:call-template name="localLCID">
  367.         <xsl:with-param name="LCID" select="$LCID"/>
  368.       </xsl:call-template>
  369.     </xsl:variable>
  370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  371.   </xsl:template>
  372.  
  373.   
  374.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  375.     <xsl:param name="LCID" />
  376.     <xsl:variable name="_LCID">
  377.       <xsl:call-template name="localLCID">
  378.         <xsl:with-param name="LCID" select="$LCID"/>
  379.       </xsl:call-template>
  380.     </xsl:variable>
  381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  382.   </xsl:template>
  383.  
  384.   
  385.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  386.     <xsl:param name="LCID" />
  387.     <xsl:variable name="_LCID">
  388.       <xsl:call-template name="localLCID">
  389.         <xsl:with-param name="LCID" select="$LCID"/>
  390.       </xsl:call-template>
  391.     </xsl:variable>
  392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  393.   </xsl:template>
  394.  
  395.   
  396.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  397.     <xsl:param name="LCID" />
  398.     <xsl:variable name="_LCID">
  399.       <xsl:call-template name="localLCID">
  400.         <xsl:with-param name="LCID" select="$LCID"/>
  401.       </xsl:call-template>
  402.     </xsl:variable>
  403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  404.   </xsl:template>
  405.  
  406.   
  407.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  408.     <xsl:param name="LCID" />
  409.     <xsl:variable name="_LCID">
  410.       <xsl:call-template name="localLCID">
  411.         <xsl:with-param name="LCID" select="$LCID"/>
  412.       </xsl:call-template>
  413.     </xsl:variable>
  414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  415.   </xsl:template>
  416.  
  417.   
  418.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  419.     <xsl:param name="LCID" />
  420.     <xsl:variable name="_LCID">
  421.       <xsl:call-template name="localLCID">
  422.         <xsl:with-param name="LCID" select="$LCID"/>
  423.       </xsl:call-template>
  424.     </xsl:variable>
  425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  426.   </xsl:template>
  427.  
  428.   
  429.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  430.     <xsl:param name="LCID" />
  431.     <xsl:variable name="_LCID">
  432.       <xsl:call-template name="localLCID">
  433.         <xsl:with-param name="LCID" select="$LCID"/>
  434.       </xsl:call-template>
  435.     </xsl:variable>
  436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  437.   </xsl:template>
  438.  
  439.   
  440.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  441.     <xsl:param name="LCID" />
  442.     <xsl:variable name="_LCID">
  443.       <xsl:call-template name="localLCID">
  444.         <xsl:with-param name="LCID" select="$LCID"/>
  445.       </xsl:call-template>
  446.     </xsl:variable>
  447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  448.   </xsl:template>
  449.  
  450.   
  451.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  452.     <xsl:param name="LCID" />
  453.     <xsl:variable name="_LCID">
  454.       <xsl:call-template name="localLCID">
  455.         <xsl:with-param name="LCID" select="$LCID"/>
  456.       </xsl:call-template>
  457.     </xsl:variable>
  458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  459.   </xsl:template>
  460.  
  461.   
  462.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  463.     <xsl:param name="LCID" />
  464.     <xsl:variable name="_LCID">
  465.       <xsl:call-template name="localLCID">
  466.         <xsl:with-param name="LCID" select="$LCID"/>
  467.       </xsl:call-template>
  468.     </xsl:variable>
  469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  470.   </xsl:template>
  471.  
  472.   
  473.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  474.     <xsl:param name="LCID" />
  475.     <xsl:variable name="_LCID">
  476.       <xsl:call-template name="localLCID">
  477.         <xsl:with-param name="LCID" select="$LCID"/>
  478.       </xsl:call-template>
  479.     </xsl:variable>
  480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  481.   </xsl:template>
  482.  
  483.   
  484.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  485.     <xsl:param name="LCID" />
  486.     <xsl:variable name="_LCID">
  487.       <xsl:call-template name="localLCID">
  488.         <xsl:with-param name="LCID" select="$LCID"/>
  489.       </xsl:call-template>
  490.     </xsl:variable>
  491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  492.   </xsl:template>
  493.  
  494.   
  495.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  496.     <xsl:param name="LCID" />
  497.     <xsl:variable name="_LCID">
  498.       <xsl:call-template name="localLCID">
  499.         <xsl:with-param name="LCID" select="$LCID"/>
  500.       </xsl:call-template>
  501.     </xsl:variable>
  502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  503.   </xsl:template>
  504.  
  505.   
  506.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  507.     <xsl:param name="LCID" />
  508.     <xsl:variable name="_LCID">
  509.       <xsl:call-template name="localLCID">
  510.         <xsl:with-param name="LCID" select="$LCID"/>
  511.       </xsl:call-template>
  512.     </xsl:variable>
  513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  514.   </xsl:template>
  515.  
  516.   
  517.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  518.     <xsl:param name="LCID" />
  519.     <xsl:variable name="_LCID">
  520.       <xsl:call-template name="localLCID">
  521.         <xsl:with-param name="LCID" select="$LCID"/>
  522.       </xsl:call-template>
  523.     </xsl:variable>
  524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  525.   </xsl:template>
  526.  
  527.   
  528.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  529.     <xsl:param name="LCID" />
  530.     <xsl:variable name="_LCID">
  531.       <xsl:call-template name="localLCID">
  532.         <xsl:with-param name="LCID" select="$LCID"/>
  533.       </xsl:call-template>
  534.     </xsl:variable>
  535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  536.   </xsl:template>
  537.  
  538.   
  539.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  540.     <xsl:param name="LCID" />
  541.     <xsl:variable name="_LCID">
  542.       <xsl:call-template name="localLCID">
  543.         <xsl:with-param name="LCID" select="$LCID"/>
  544.       </xsl:call-template>
  545.     </xsl:variable>
  546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  547.   </xsl:template>
  548.  
  549.   
  550.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  551.     <xsl:param name="LCID" />
  552.     <xsl:variable name="_LCID">
  553.       <xsl:call-template name="localLCID">
  554.         <xsl:with-param name="LCID" select="$LCID"/>
  555.       </xsl:call-template>
  556.     </xsl:variable>
  557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  558.   </xsl:template>
  559.  
  560.   
  561.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  562.     <xsl:param name="LCID" />
  563.     <xsl:variable name="_LCID">
  564.       <xsl:call-template name="localLCID">
  565.         <xsl:with-param name="LCID" select="$LCID"/>
  566.       </xsl:call-template>
  567.     </xsl:variable>
  568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  569.   </xsl:template>
  570.  
  571.   
  572.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  573.     <xsl:param name="LCID" />
  574.     <xsl:variable name="_LCID">
  575.       <xsl:call-template name="localLCID">
  576.         <xsl:with-param name="LCID" select="$LCID"/>
  577.       </xsl:call-template>
  578.     </xsl:variable>
  579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  580.   </xsl:template>
  581.  
  582.   
  583.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  584.     <xsl:param name="LCID" />
  585.     <xsl:variable name="_LCID">
  586.       <xsl:call-template name="localLCID">
  587.         <xsl:with-param name="LCID" select="$LCID"/>
  588.       </xsl:call-template>
  589.     </xsl:variable>
  590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  591.   </xsl:template>
  592.  
  593.   
  594.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  595.     <xsl:param name="LCID" />
  596.     <xsl:variable name="_LCID">
  597.       <xsl:call-template name="localLCID">
  598.         <xsl:with-param name="LCID" select="$LCID"/>
  599.       </xsl:call-template>
  600.     </xsl:variable>
  601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  602.   </xsl:template>
  603.  
  604.   
  605.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  606.     <xsl:param name="LCID" />
  607.     <xsl:variable name="_LCID">
  608.       <xsl:call-template name="localLCID">
  609.         <xsl:with-param name="LCID" select="$LCID"/>
  610.       </xsl:call-template>
  611.     </xsl:variable>
  612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  613.   </xsl:template>
  614.  
  615.   
  616.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  617.     <xsl:param name="LCID" />
  618.     <xsl:variable name="_LCID">
  619.       <xsl:call-template name="localLCID">
  620.         <xsl:with-param name="LCID" select="$LCID"/>
  621.       </xsl:call-template>
  622.     </xsl:variable>
  623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  624.   </xsl:template>
  625.  
  626.   
  627.   <xsl:template name="templ_str_OnlineCap" >
  628.     <xsl:param name="LCID" />
  629.     <xsl:variable name="_LCID">
  630.       <xsl:call-template name="localLCID">
  631.         <xsl:with-param name="LCID" select="$LCID"/>
  632.       </xsl:call-template>
  633.     </xsl:variable>
  634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  635.   </xsl:template>
  636.  
  637.   
  638.   <xsl:template name="templ_str_OnlineUnCap" >
  639.     <xsl:param name="LCID" />
  640.     <xsl:variable name="_LCID">
  641.       <xsl:call-template name="localLCID">
  642.         <xsl:with-param name="LCID" select="$LCID"/>
  643.       </xsl:call-template>
  644.     </xsl:variable>
  645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  646.   </xsl:template>
  647.  
  648.   
  649.   <xsl:template name="templ_str_FiledCap" >
  650.     <xsl:param name="LCID" />
  651.     <xsl:variable name="_LCID">
  652.       <xsl:call-template name="localLCID">
  653.         <xsl:with-param name="LCID" select="$LCID"/>
  654.       </xsl:call-template>
  655.     </xsl:variable>
  656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  657.   </xsl:template>
  658.  
  659.   
  660.   <xsl:template name="templ_str_PatentFiledCap" >
  661.     <xsl:param name="LCID" />
  662.     <xsl:variable name="_LCID">
  663.       <xsl:call-template name="localLCID">
  664.         <xsl:with-param name="LCID" select="$LCID"/>
  665.       </xsl:call-template>
  666.     </xsl:variable>
  667.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  668.   </xsl:template>
  669.  
  670.   
  671.   <xsl:template name="templ_str_InCap" >
  672.     <xsl:param name="LCID" />
  673.     <xsl:variable name="_LCID">
  674.       <xsl:call-template name="localLCID">
  675.         <xsl:with-param name="LCID" select="$LCID"/>
  676.       </xsl:call-template>
  677.     </xsl:variable>
  678.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  679.   </xsl:template>
  680.  
  681.   
  682.   <xsl:template name="templ_str_InNameCap" >
  683.     <xsl:param name="LCID" />
  684.     <xsl:variable name="_LCID">
  685.       <xsl:call-template name="localLCID">
  686.         <xsl:with-param name="LCID" select="$LCID"/>
  687.       </xsl:call-template>
  688.     </xsl:variable>
  689.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  690.   </xsl:template>
  691.  
  692.   
  693.   <xsl:template name="templ_str_WithUnCap" >
  694.     <xsl:param name="LCID" />
  695.     <xsl:variable name="_LCID">
  696.       <xsl:call-template name="localLCID">
  697.         <xsl:with-param name="LCID" select="$LCID"/>
  698.       </xsl:call-template>
  699.     </xsl:variable>
  700.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  701.   </xsl:template>
  702.  
  703.   
  704.   <xsl:template name="templ_str_VersionShortCap" >
  705.     <xsl:param name="LCID" />
  706.     <xsl:variable name="_LCID">
  707.       <xsl:call-template name="localLCID">
  708.         <xsl:with-param name="LCID" select="$LCID"/>
  709.       </xsl:call-template>
  710.     </xsl:variable>
  711.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  712.   </xsl:template>
  713.  
  714.   
  715.   <xsl:template name="templ_str_InterviewCap" >
  716.     <xsl:param name="LCID" />
  717.     <xsl:variable name="_LCID">
  718.       <xsl:call-template name="localLCID">
  719.         <xsl:with-param name="LCID" select="$LCID"/>
  720.       </xsl:call-template>
  721.     </xsl:variable>
  722.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  723.   </xsl:template>
  724.  
  725.   
  726.   <xsl:template name="templ_str_InterviewWithCap" >
  727.     <xsl:param name="LCID" />
  728.     <xsl:variable name="_LCID">
  729.       <xsl:call-template name="localLCID">
  730.         <xsl:with-param name="LCID" select="$LCID"/>
  731.       </xsl:call-template>
  732.     </xsl:variable>
  733.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  734.   </xsl:template>
  735.  
  736.   
  737.   <xsl:template name="templ_str_InterviewByCap" >
  738.     <xsl:param name="LCID" />
  739.     <xsl:variable name="_LCID">
  740.       <xsl:call-template name="localLCID">
  741.         <xsl:with-param name="LCID" select="$LCID"/>
  742.       </xsl:call-template>
  743.     </xsl:variable>
  744.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  745.   </xsl:template>
  746.  
  747.   
  748.   <xsl:template name="templ_str_ByCap" >
  749.     <xsl:param name="LCID" />
  750.     <xsl:variable name="_LCID">
  751.       <xsl:call-template name="localLCID">
  752.         <xsl:with-param name="LCID" select="$LCID"/>
  753.       </xsl:call-template>
  754.     </xsl:variable>
  755.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  756.   </xsl:template>
  757.  
  758.   
  759.   <xsl:template name="templ_str_AndUnCap" >
  760.     <xsl:param name="LCID" />
  761.     <xsl:variable name="_LCID">
  762.       <xsl:call-template name="localLCID">
  763.         <xsl:with-param name="LCID" select="$LCID"/>
  764.       </xsl:call-template>
  765.     </xsl:variable>
  766.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  767.   </xsl:template>
  768.  
  769.   
  770.   <xsl:template name="templ_str_AndOthersUnCap" >
  771.     <xsl:param name="LCID" />
  772.     <xsl:variable name="_LCID">
  773.       <xsl:call-template name="localLCID">
  774.         <xsl:with-param name="LCID" select="$LCID"/>
  775.       </xsl:call-template>
  776.     </xsl:variable>
  777.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  778.   </xsl:template>
  779.  
  780.   
  781.   <xsl:template name="templ_str_MotionPictureCap" >
  782.     <xsl:param name="LCID" />
  783.     <xsl:variable name="_LCID">
  784.       <xsl:call-template name="localLCID">
  785.         <xsl:with-param name="LCID" select="$LCID"/>
  786.       </xsl:call-template>
  787.     </xsl:variable>
  788.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  789.   </xsl:template>
  790.  
  791.   
  792.   <xsl:template name="templ_str_PatentCap" >
  793.     <xsl:param name="LCID" />
  794.     <xsl:variable name="_LCID">
  795.       <xsl:call-template name="localLCID">
  796.         <xsl:with-param name="LCID" select="$LCID"/>
  797.       </xsl:call-template>
  798.     </xsl:variable>
  799.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  800.   </xsl:template>
  801.  
  802.   
  803.   <xsl:template name="templ_str_EditionShortUnCap" >
  804.     <xsl:param name="LCID" />
  805.     <xsl:variable name="_LCID">
  806.       <xsl:call-template name="localLCID">
  807.         <xsl:with-param name="LCID" select="$LCID"/>
  808.       </xsl:call-template>
  809.     </xsl:variable>
  810.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  811.   </xsl:template>
  812.  
  813.   
  814.   <xsl:template name="templ_str_EditionUnCap" >
  815.     <xsl:param name="LCID" />
  816.     <xsl:variable name="_LCID">
  817.       <xsl:call-template name="localLCID">
  818.         <xsl:with-param name="LCID" select="$LCID"/>
  819.       </xsl:call-template>
  820.     </xsl:variable>
  821.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  822.   </xsl:template>
  823.  
  824.   
  825.   <xsl:template name="templ_str_RetrievedFromCap" >
  826.     <xsl:param name="LCID" />
  827.     <xsl:variable name="_LCID">
  828.       <xsl:call-template name="localLCID">
  829.         <xsl:with-param name="LCID" select="$LCID"/>
  830.       </xsl:call-template>
  831.     </xsl:variable>
  832.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  833.   </xsl:template>
  834.  
  835.   
  836.   <xsl:template name="templ_str_RetrievedCap" >
  837.     <xsl:param name="LCID" />
  838.     <xsl:variable name="_LCID">
  839.       <xsl:call-template name="localLCID">
  840.         <xsl:with-param name="LCID" select="$LCID"/>
  841.       </xsl:call-template>
  842.     </xsl:variable>
  843.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  844.   </xsl:template>
  845.  
  846.   
  847.   <xsl:template name="templ_str_FromCap" >
  848.     <xsl:param name="LCID" />
  849.     <xsl:variable name="_LCID">
  850.       <xsl:call-template name="localLCID">
  851.         <xsl:with-param name="LCID" select="$LCID"/>
  852.       </xsl:call-template>
  853.     </xsl:variable>
  854.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  855.   </xsl:template>
  856.  
  857.   
  858.   <xsl:template name="templ_str_FromUnCap" >
  859.     <xsl:param name="LCID" />
  860.     <xsl:variable name="_LCID">
  861.       <xsl:call-template name="localLCID">
  862.         <xsl:with-param name="LCID" select="$LCID"/>
  863.       </xsl:call-template>
  864.     </xsl:variable>
  865.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  866.   </xsl:template>
  867.  
  868.   
  869.   <xsl:template name="templ_str_NoDateShortUnCap" >
  870.     <xsl:param name="LCID" />
  871.     <xsl:variable name="_LCID">
  872.       <xsl:call-template name="localLCID">
  873.         <xsl:with-param name="LCID" select="$LCID"/>
  874.       </xsl:call-template>
  875.     </xsl:variable>
  876.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  877.   </xsl:template>
  878.  
  879.   
  880.   <xsl:template name="templ_str_NumberShortCap" >
  881.     <xsl:param name="LCID" />
  882.     <xsl:variable name="_LCID">
  883.       <xsl:call-template name="localLCID">
  884.         <xsl:with-param name="LCID" select="$LCID"/>
  885.       </xsl:call-template>
  886.     </xsl:variable>
  887.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  888.   </xsl:template>
  889.  
  890.   
  891.   <xsl:template name="templ_str_NumberShortUnCap" >
  892.     <xsl:param name="LCID" />
  893.     <xsl:variable name="_LCID">
  894.       <xsl:call-template name="localLCID">
  895.         <xsl:with-param name="LCID" select="$LCID"/>
  896.       </xsl:call-template>
  897.     </xsl:variable>
  898.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  899.   </xsl:template>
  900.  
  901.   
  902.   <xsl:template name="templ_str_PatentNumberShortCap" >
  903.     <xsl:param name="LCID" />
  904.     <xsl:variable name="_LCID">
  905.       <xsl:call-template name="localLCID">
  906.         <xsl:with-param name="LCID" select="$LCID"/>
  907.       </xsl:call-template>
  908.     </xsl:variable>
  909.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  910.   </xsl:template>
  911.  
  912.   
  913.   <xsl:template name="templ_str_PagesCountinousShort" >
  914.     <xsl:param name="LCID" />
  915.     <xsl:variable name="_LCID">
  916.       <xsl:call-template name="localLCID">
  917.         <xsl:with-param name="LCID" select="$LCID"/>
  918.       </xsl:call-template>
  919.     </xsl:variable>
  920.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  921.   </xsl:template>
  922.  
  923.   
  924.   <xsl:template name="templ_str_PageShort" >
  925.     <xsl:param name="LCID" />
  926.     <xsl:variable name="_LCID">
  927.       <xsl:call-template name="localLCID">
  928.         <xsl:with-param name="LCID" select="$LCID"/>
  929.       </xsl:call-template>
  930.     </xsl:variable>
  931.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  932.   </xsl:template>
  933.  
  934.   
  935.   <xsl:template name="templ_str_SineNomineShort" >
  936.     <xsl:param name="LCID" />
  937.     <xsl:variable name="_LCID">
  938.       <xsl:call-template name="localLCID">
  939.         <xsl:with-param name="LCID" select="$LCID"/>
  940.       </xsl:call-template>
  941.     </xsl:variable>
  942.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  943.   </xsl:template>
  944.  
  945.   
  946.   <xsl:template name="templ_str_SineLocoShort" >
  947.     <xsl:param name="LCID" />
  948.     <xsl:variable name="_LCID">
  949.       <xsl:call-template name="localLCID">
  950.         <xsl:with-param name="LCID" select="$LCID"/>
  951.       </xsl:call-template>
  952.     </xsl:variable>
  953.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  954.   </xsl:template>
  955.  
  956.   
  957.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  958.     <xsl:param name="LCID" />
  959.     <xsl:variable name="_LCID">
  960.       <xsl:call-template name="localLCID">
  961.         <xsl:with-param name="LCID" select="$LCID"/>
  962.       </xsl:call-template>
  963.     </xsl:variable>
  964.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  965.   </xsl:template>
  966.  
  967.   
  968.   <xsl:template name="templ_str_VolumeOfShortCap" >
  969.     <xsl:param name="LCID" />
  970.     <xsl:variable name="_LCID">
  971.       <xsl:call-template name="localLCID">
  972.         <xsl:with-param name="LCID" select="$LCID"/>
  973.       </xsl:call-template>
  974.     </xsl:variable>
  975.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  976.   </xsl:template>
  977.  
  978.   
  979.   <xsl:template name="templ_str_VolumesOfShortCap" >
  980.     <xsl:param name="LCID" />
  981.     <xsl:variable name="_LCID">
  982.       <xsl:call-template name="localLCID">
  983.         <xsl:with-param name="LCID" select="$LCID"/>
  984.       </xsl:call-template>
  985.     </xsl:variable>
  986.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  987.   </xsl:template>
  988.  
  989.   
  990.   <xsl:template name="templ_str_VolumeShortCap" >
  991.     <xsl:param name="LCID" />
  992.     <xsl:variable name="_LCID">
  993.       <xsl:call-template name="localLCID">
  994.         <xsl:with-param name="LCID" select="$LCID"/>
  995.       </xsl:call-template>
  996.     </xsl:variable>
  997.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  998.   </xsl:template>
  999.  
  1000.   
  1001.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1002.     <xsl:param name="LCID" />
  1003.     <xsl:variable name="_LCID">
  1004.       <xsl:call-template name="localLCID">
  1005.         <xsl:with-param name="LCID" select="$LCID"/>
  1006.       </xsl:call-template>
  1007.     </xsl:variable>
  1008.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1009.   </xsl:template>
  1010.  
  1011.   
  1012.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1013.     <xsl:param name="LCID" />
  1014.     <xsl:variable name="_LCID">
  1015.       <xsl:call-template name="localLCID">
  1016.         <xsl:with-param name="LCID" select="$LCID"/>
  1017.       </xsl:call-template>
  1018.     </xsl:variable>
  1019.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1020.   </xsl:template>
  1021.  
  1022.   
  1023.   <xsl:template name="templ_str_VolumesShortCap" >
  1024.     <xsl:param name="LCID" />
  1025.     <xsl:variable name="_LCID">
  1026.       <xsl:call-template name="localLCID">
  1027.         <xsl:with-param name="LCID" select="$LCID"/>
  1028.       </xsl:call-template>
  1029.     </xsl:variable>
  1030.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1031.   </xsl:template>
  1032.  
  1033.   
  1034.   <xsl:template name="templ_str_VolumeCap" >
  1035.     <xsl:param name="LCID" />
  1036.     <xsl:variable name="_LCID">
  1037.       <xsl:call-template name="localLCID">
  1038.         <xsl:with-param name="LCID" select="$LCID"/>
  1039.       </xsl:call-template>
  1040.     </xsl:variable>
  1041.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1042.   </xsl:template>
  1043.  
  1044.   
  1045.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1046.     <xsl:param name="LCID" />
  1047.     <xsl:variable name="_LCID">
  1048.       <xsl:call-template name="localLCID">
  1049.         <xsl:with-param name="LCID" select="$LCID"/>
  1050.       </xsl:call-template>
  1051.     </xsl:variable>
  1052.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1053.   </xsl:template>
  1054.  
  1055.   
  1056.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1057.     <xsl:param name="LCID" />
  1058.     <xsl:variable name="_LCID">
  1059.       <xsl:call-template name="localLCID">
  1060.         <xsl:with-param name="LCID" select="$LCID"/>
  1061.       </xsl:call-template>
  1062.     </xsl:variable>
  1063.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1064.   </xsl:template>
  1065.  
  1066.   
  1067.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1068.     <xsl:param name="LCID" />
  1069.     <xsl:variable name="_LCID">
  1070.       <xsl:call-template name="localLCID">
  1071.         <xsl:with-param name="LCID" select="$LCID"/>
  1072.       </xsl:call-template>
  1073.     </xsl:variable>
  1074.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1075.   </xsl:template>
  1076.  
  1077.   
  1078.   <xsl:template name="templ_str_WriterCap" >
  1079.     <xsl:param name="LCID" />
  1080.     <xsl:variable name="_LCID">
  1081.       <xsl:call-template name="localLCID">
  1082.         <xsl:with-param name="LCID" select="$LCID"/>
  1083.       </xsl:call-template>
  1084.     </xsl:variable>
  1085.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1086.   </xsl:template>
  1087.  
  1088.   
  1089.   <xsl:template name="templ_str_WritersCap" >
  1090.     <xsl:param name="LCID" />
  1091.     <xsl:variable name="_LCID">
  1092.       <xsl:call-template name="localLCID">
  1093.         <xsl:with-param name="LCID" select="$LCID"/>
  1094.       </xsl:call-template>
  1095.     </xsl:variable>
  1096.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1097.   </xsl:template>
  1098.  
  1099.   
  1100.   <xsl:template name="templ_str_WriterShortUnCap" >
  1101.     <xsl:param name="LCID" />
  1102.     <xsl:variable name="_LCID">
  1103.       <xsl:call-template name="localLCID">
  1104.         <xsl:with-param name="LCID" select="$LCID"/>
  1105.       </xsl:call-template>
  1106.     </xsl:variable>
  1107.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1108.   </xsl:template>
  1109.  
  1110.   
  1111.   <xsl:template name="templ_str_ConductedByCap" >
  1112.     <xsl:param name="LCID" />
  1113.     <xsl:variable name="_LCID">
  1114.       <xsl:call-template name="localLCID">
  1115.         <xsl:with-param name="LCID" select="$LCID"/>
  1116.       </xsl:call-template>
  1117.     </xsl:variable>
  1118.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1119.   </xsl:template>
  1120.  
  1121.   
  1122.   <xsl:template name="templ_str_ConductedByUnCap" >
  1123.     <xsl:param name="LCID" />
  1124.     <xsl:variable name="_LCID">
  1125.       <xsl:call-template name="localLCID">
  1126.         <xsl:with-param name="LCID" select="$LCID"/>
  1127.       </xsl:call-template>
  1128.     </xsl:variable>
  1129.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1130.   </xsl:template>
  1131.  
  1132.   
  1133.   <xsl:template name="templ_str_ConductorCap" >
  1134.     <xsl:param name="LCID" />
  1135.     <xsl:variable name="_LCID">
  1136.       <xsl:call-template name="localLCID">
  1137.         <xsl:with-param name="LCID" select="$LCID"/>
  1138.       </xsl:call-template>
  1139.     </xsl:variable>
  1140.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1141.   </xsl:template>
  1142.  
  1143.   
  1144.   <xsl:template name="templ_str_ConductorsCap" >
  1145.     <xsl:param name="LCID" />
  1146.     <xsl:variable name="_LCID">
  1147.       <xsl:call-template name="localLCID">
  1148.         <xsl:with-param name="LCID" select="$LCID"/>
  1149.       </xsl:call-template>
  1150.     </xsl:variable>
  1151.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1152.   </xsl:template>
  1153.  
  1154.   
  1155.   <xsl:template name="templ_str_ConductorShortCap" >
  1156.     <xsl:param name="LCID" />
  1157.     <xsl:variable name="_LCID">
  1158.       <xsl:call-template name="localLCID">
  1159.         <xsl:with-param name="LCID" select="$LCID"/>
  1160.       </xsl:call-template>
  1161.     </xsl:variable>
  1162.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1163.   </xsl:template>
  1164.  
  1165.   
  1166.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1167.     <xsl:param name="LCID" />
  1168.     <xsl:variable name="_LCID">
  1169.       <xsl:call-template name="localLCID">
  1170.         <xsl:with-param name="LCID" select="$LCID"/>
  1171.       </xsl:call-template>
  1172.     </xsl:variable>
  1173.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1174.   </xsl:template>
  1175.  
  1176.   
  1177.   <xsl:template name="templ_str_ConductorsShortCap" >
  1178.     <xsl:param name="LCID" />
  1179.     <xsl:variable name="_LCID">
  1180.       <xsl:call-template name="localLCID">
  1181.         <xsl:with-param name="LCID" select="$LCID"/>
  1182.       </xsl:call-template>
  1183.     </xsl:variable>
  1184.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1185.   </xsl:template>
  1186.  
  1187.   
  1188.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1189.     <xsl:param name="LCID" />
  1190.     <xsl:variable name="_LCID">
  1191.       <xsl:call-template name="localLCID">
  1192.         <xsl:with-param name="LCID" select="$LCID"/>
  1193.       </xsl:call-template>
  1194.     </xsl:variable>
  1195.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1196.   </xsl:template>
  1197.  
  1198.   
  1199.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1200.     <xsl:param name="LCID" />
  1201.     <xsl:variable name="_LCID">
  1202.       <xsl:call-template name="localLCID">
  1203.         <xsl:with-param name="LCID" select="$LCID"/>
  1204.       </xsl:call-template>
  1205.     </xsl:variable>
  1206.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1207.   </xsl:template>
  1208.  
  1209.   
  1210.   <xsl:template name="templ_str_CounselShortUnCap" >
  1211.     <xsl:param name="LCID" />
  1212.     <xsl:variable name="_LCID">
  1213.       <xsl:call-template name="localLCID">
  1214.         <xsl:with-param name="LCID" select="$LCID"/>
  1215.       </xsl:call-template>
  1216.     </xsl:variable>
  1217.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1218.   </xsl:template>
  1219.  
  1220.   
  1221.   <xsl:template name="templ_str_DirectedByCap" >
  1222.     <xsl:param name="LCID" />
  1223.     <xsl:variable name="_LCID">
  1224.       <xsl:call-template name="localLCID">
  1225.         <xsl:with-param name="LCID" select="$LCID"/>
  1226.       </xsl:call-template>
  1227.     </xsl:variable>
  1228.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1229.   </xsl:template>
  1230.  
  1231.   
  1232.   <xsl:template name="templ_str_DirectedByUnCap" >
  1233.     <xsl:param name="LCID" />
  1234.     <xsl:variable name="_LCID">
  1235.       <xsl:call-template name="localLCID">
  1236.         <xsl:with-param name="LCID" select="$LCID"/>
  1237.       </xsl:call-template>
  1238.     </xsl:variable>
  1239.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1240.   </xsl:template>
  1241.  
  1242.   
  1243.   <xsl:template name="templ_str_DirectorCap" >
  1244.     <xsl:param name="LCID" />
  1245.     <xsl:variable name="_LCID">
  1246.       <xsl:call-template name="localLCID">
  1247.         <xsl:with-param name="LCID" select="$LCID"/>
  1248.       </xsl:call-template>
  1249.     </xsl:variable>
  1250.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1251.   </xsl:template>
  1252.  
  1253.   
  1254.   <xsl:template name="templ_str_DirectorsCap" >
  1255.     <xsl:param name="LCID" />
  1256.     <xsl:variable name="_LCID">
  1257.       <xsl:call-template name="localLCID">
  1258.         <xsl:with-param name="LCID" select="$LCID"/>
  1259.       </xsl:call-template>
  1260.     </xsl:variable>
  1261.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1262.   </xsl:template>
  1263.  
  1264.   
  1265.   <xsl:template name="templ_str_DirectorShortCap" >
  1266.     <xsl:param name="LCID" />
  1267.     <xsl:variable name="_LCID">
  1268.       <xsl:call-template name="localLCID">
  1269.         <xsl:with-param name="LCID" select="$LCID"/>
  1270.       </xsl:call-template>
  1271.     </xsl:variable>
  1272.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1273.   </xsl:template>
  1274.  
  1275.   
  1276.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1277.     <xsl:param name="LCID" />
  1278.     <xsl:variable name="_LCID">
  1279.       <xsl:call-template name="localLCID">
  1280.         <xsl:with-param name="LCID" select="$LCID"/>
  1281.       </xsl:call-template>
  1282.     </xsl:variable>
  1283.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1284.   </xsl:template>
  1285.  
  1286.   
  1287.   <xsl:template name="templ_str_DirectorsShortCap" >
  1288.     <xsl:param name="LCID" />
  1289.     <xsl:variable name="_LCID">
  1290.       <xsl:call-template name="localLCID">
  1291.         <xsl:with-param name="LCID" select="$LCID"/>
  1292.       </xsl:call-template>
  1293.     </xsl:variable>
  1294.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1295.   </xsl:template>
  1296.  
  1297.   
  1298.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1299.     <xsl:param name="LCID" />
  1300.     <xsl:variable name="_LCID">
  1301.       <xsl:call-template name="localLCID">
  1302.         <xsl:with-param name="LCID" select="$LCID"/>
  1303.       </xsl:call-template>
  1304.     </xsl:variable>
  1305.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1306.   </xsl:template>
  1307.  
  1308.   
  1309.   <xsl:template name="templ_str_EditedByCap" >
  1310.     <xsl:param name="LCID" />
  1311.     <xsl:variable name="_LCID">
  1312.       <xsl:call-template name="localLCID">
  1313.         <xsl:with-param name="LCID" select="$LCID"/>
  1314.       </xsl:call-template>
  1315.     </xsl:variable>
  1316.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1317.   </xsl:template>
  1318.  
  1319.   
  1320.   <xsl:template name="templ_str_EditedByUnCap" >
  1321.     <xsl:param name="LCID" />
  1322.     <xsl:variable name="_LCID">
  1323.       <xsl:call-template name="localLCID">
  1324.         <xsl:with-param name="LCID" select="$LCID"/>
  1325.       </xsl:call-template>
  1326.     </xsl:variable>
  1327.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1328.   </xsl:template>
  1329.  
  1330.   
  1331.   <xsl:template name="templ_str_EditorCap" >
  1332.     <xsl:param name="LCID" />
  1333.     <xsl:variable name="_LCID">
  1334.       <xsl:call-template name="localLCID">
  1335.         <xsl:with-param name="LCID" select="$LCID"/>
  1336.       </xsl:call-template>
  1337.     </xsl:variable>
  1338.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1339.   </xsl:template>
  1340.  
  1341.   
  1342.   <xsl:template name="templ_str_EditorsCap" >
  1343.     <xsl:param name="LCID" />
  1344.     <xsl:variable name="_LCID">
  1345.       <xsl:call-template name="localLCID">
  1346.         <xsl:with-param name="LCID" select="$LCID"/>
  1347.       </xsl:call-template>
  1348.     </xsl:variable>
  1349.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1350.   </xsl:template>
  1351.  
  1352.   
  1353.   <xsl:template name="templ_str_EditorShortCap" >
  1354.     <xsl:param name="LCID" />
  1355.     <xsl:variable name="_LCID">
  1356.       <xsl:call-template name="localLCID">
  1357.         <xsl:with-param name="LCID" select="$LCID"/>
  1358.       </xsl:call-template>
  1359.     </xsl:variable>
  1360.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1361.   </xsl:template>
  1362.  
  1363.   
  1364.   <xsl:template name="templ_str_EditorShortUnCap" >
  1365.     <xsl:param name="LCID" />
  1366.     <xsl:variable name="_LCID">
  1367.       <xsl:call-template name="localLCID">
  1368.         <xsl:with-param name="LCID" select="$LCID"/>
  1369.       </xsl:call-template>
  1370.     </xsl:variable>
  1371.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1372.   </xsl:template>
  1373.  
  1374.   
  1375.   <xsl:template name="templ_str_EditorsShortCap" >
  1376.     <xsl:param name="LCID" />
  1377.     <xsl:variable name="_LCID">
  1378.       <xsl:call-template name="localLCID">
  1379.         <xsl:with-param name="LCID" select="$LCID"/>
  1380.       </xsl:call-template>
  1381.     </xsl:variable>
  1382.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1383.   </xsl:template>
  1384.  
  1385.   
  1386.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1387.     <xsl:param name="LCID" />
  1388.     <xsl:variable name="_LCID">
  1389.       <xsl:call-template name="localLCID">
  1390.         <xsl:with-param name="LCID" select="$LCID"/>
  1391.       </xsl:call-template>
  1392.     </xsl:variable>
  1393.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1394.   </xsl:template>
  1395.  
  1396.   
  1397.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1398.     <xsl:param name="LCID" />
  1399.     <xsl:variable name="_LCID">
  1400.       <xsl:call-template name="localLCID">
  1401.         <xsl:with-param name="LCID" select="$LCID"/>
  1402.       </xsl:call-template>
  1403.     </xsl:variable>
  1404.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1405.   </xsl:template>
  1406.  
  1407.   
  1408.   <xsl:template name="templ_str_InterviewerCap" >
  1409.     <xsl:param name="LCID" />
  1410.     <xsl:variable name="_LCID">
  1411.       <xsl:call-template name="localLCID">
  1412.         <xsl:with-param name="LCID" select="$LCID"/>
  1413.       </xsl:call-template>
  1414.     </xsl:variable>
  1415.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1416.   </xsl:template>
  1417.  
  1418.   
  1419.   <xsl:template name="templ_str_InterviewersCap" >
  1420.     <xsl:param name="LCID" />
  1421.     <xsl:variable name="_LCID">
  1422.       <xsl:call-template name="localLCID">
  1423.         <xsl:with-param name="LCID" select="$LCID"/>
  1424.       </xsl:call-template>
  1425.     </xsl:variable>
  1426.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1427.   </xsl:template>
  1428.  
  1429.   
  1430.   <xsl:template name="templ_str_InventorShortUnCap" >
  1431.     <xsl:param name="LCID" />
  1432.     <xsl:variable name="_LCID">
  1433.       <xsl:call-template name="localLCID">
  1434.         <xsl:with-param name="LCID" select="$LCID"/>
  1435.       </xsl:call-template>
  1436.     </xsl:variable>
  1437.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1438.   </xsl:template>
  1439.  
  1440.   
  1441.   <xsl:template name="templ_str_PerformedByCap" >
  1442.     <xsl:param name="LCID" />
  1443.     <xsl:variable name="_LCID">
  1444.       <xsl:call-template name="localLCID">
  1445.         <xsl:with-param name="LCID" select="$LCID"/>
  1446.       </xsl:call-template>
  1447.     </xsl:variable>
  1448.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1449.   </xsl:template>
  1450.  
  1451.   
  1452.   <xsl:template name="templ_str_PerformedByUnCap" >
  1453.     <xsl:param name="LCID" />
  1454.     <xsl:variable name="_LCID">
  1455.       <xsl:call-template name="localLCID">
  1456.         <xsl:with-param name="LCID" select="$LCID"/>
  1457.       </xsl:call-template>
  1458.     </xsl:variable>
  1459.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1460.   </xsl:template>
  1461.  
  1462.   
  1463.   <xsl:template name="templ_str_PerformerCap" >
  1464.     <xsl:param name="LCID" />
  1465.     <xsl:variable name="_LCID">
  1466.       <xsl:call-template name="localLCID">
  1467.         <xsl:with-param name="LCID" select="$LCID"/>
  1468.       </xsl:call-template>
  1469.     </xsl:variable>
  1470.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1471.   </xsl:template>
  1472.  
  1473.   
  1474.   <xsl:template name="templ_str_PerformersCap" >
  1475.     <xsl:param name="LCID" />
  1476.     <xsl:variable name="_LCID">
  1477.       <xsl:call-template name="localLCID">
  1478.         <xsl:with-param name="LCID" select="$LCID"/>
  1479.       </xsl:call-template>
  1480.     </xsl:variable>
  1481.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1482.   </xsl:template>
  1483.  
  1484.   
  1485.   <xsl:template name="templ_str_PerformerShortCap" >
  1486.     <xsl:param name="LCID" />
  1487.     <xsl:variable name="_LCID">
  1488.       <xsl:call-template name="localLCID">
  1489.         <xsl:with-param name="LCID" select="$LCID"/>
  1490.       </xsl:call-template>
  1491.     </xsl:variable>
  1492.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1493.   </xsl:template>
  1494.  
  1495.   
  1496.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1497.     <xsl:param name="LCID" />
  1498.     <xsl:variable name="_LCID">
  1499.       <xsl:call-template name="localLCID">
  1500.         <xsl:with-param name="LCID" select="$LCID"/>
  1501.       </xsl:call-template>
  1502.     </xsl:variable>
  1503.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1504.   </xsl:template>
  1505.  
  1506.   
  1507.   <xsl:template name="templ_str_PerformersShortCap" >
  1508.     <xsl:param name="LCID" />
  1509.     <xsl:variable name="_LCID">
  1510.       <xsl:call-template name="localLCID">
  1511.         <xsl:with-param name="LCID" select="$LCID"/>
  1512.       </xsl:call-template>
  1513.     </xsl:variable>
  1514.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1515.   </xsl:template>
  1516.  
  1517.   
  1518.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1519.     <xsl:param name="LCID" />
  1520.     <xsl:variable name="_LCID">
  1521.       <xsl:call-template name="localLCID">
  1522.         <xsl:with-param name="LCID" select="$LCID"/>
  1523.       </xsl:call-template>
  1524.     </xsl:variable>
  1525.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1526.   </xsl:template>
  1527.  
  1528.   
  1529.   <xsl:template name="templ_str_ProducedByCap" >
  1530.     <xsl:param name="LCID" />
  1531.     <xsl:variable name="_LCID">
  1532.       <xsl:call-template name="localLCID">
  1533.         <xsl:with-param name="LCID" select="$LCID"/>
  1534.       </xsl:call-template>
  1535.     </xsl:variable>
  1536.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1537.   </xsl:template>
  1538.  
  1539.   
  1540.   <xsl:template name="templ_str_ProducedByUnCap" >
  1541.     <xsl:param name="LCID" />
  1542.     <xsl:variable name="_LCID">
  1543.       <xsl:call-template name="localLCID">
  1544.         <xsl:with-param name="LCID" select="$LCID"/>
  1545.       </xsl:call-template>
  1546.     </xsl:variable>
  1547.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1548.   </xsl:template>
  1549.  
  1550.   
  1551.   <xsl:template name="templ_str_ProducerCap" >
  1552.     <xsl:param name="LCID" />
  1553.     <xsl:variable name="_LCID">
  1554.       <xsl:call-template name="localLCID">
  1555.         <xsl:with-param name="LCID" select="$LCID"/>
  1556.       </xsl:call-template>
  1557.     </xsl:variable>
  1558.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1559.   </xsl:template>
  1560.  
  1561.   
  1562.   <xsl:template name="templ_str_ProducersCap" >
  1563.     <xsl:param name="LCID" />
  1564.     <xsl:variable name="_LCID">
  1565.       <xsl:call-template name="localLCID">
  1566.         <xsl:with-param name="LCID" select="$LCID"/>
  1567.       </xsl:call-template>
  1568.     </xsl:variable>
  1569.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1570.   </xsl:template>
  1571.  
  1572.   
  1573.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1574.     <xsl:param name="LCID" />
  1575.     <xsl:variable name="_LCID">
  1576.       <xsl:call-template name="localLCID">
  1577.         <xsl:with-param name="LCID" select="$LCID"/>
  1578.       </xsl:call-template>
  1579.     </xsl:variable>
  1580.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1581.   </xsl:template>
  1582.  
  1583.   
  1584.   <xsl:template name="templ_str_ProducerShortCap" >
  1585.     <xsl:param name="LCID" />
  1586.     <xsl:variable name="_LCID">
  1587.       <xsl:call-template name="localLCID">
  1588.         <xsl:with-param name="LCID" select="$LCID"/>
  1589.       </xsl:call-template>
  1590.     </xsl:variable>
  1591.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1592.   </xsl:template>
  1593.  
  1594.   
  1595.   <xsl:template name="templ_str_ProducersShortCap" >
  1596.     <xsl:param name="LCID" />
  1597.     <xsl:variable name="_LCID">
  1598.       <xsl:call-template name="localLCID">
  1599.         <xsl:with-param name="LCID" select="$LCID"/>
  1600.       </xsl:call-template>
  1601.     </xsl:variable>
  1602.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1603.   </xsl:template>
  1604.  
  1605.   
  1606.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1607.     <xsl:param name="LCID" />
  1608.     <xsl:variable name="_LCID">
  1609.       <xsl:call-template name="localLCID">
  1610.         <xsl:with-param name="LCID" select="$LCID"/>
  1611.       </xsl:call-template>
  1612.     </xsl:variable>
  1613.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1614.   </xsl:template>
  1615.  
  1616.   
  1617.   <xsl:template name="templ_str_TranslatedByCap" >
  1618.     <xsl:param name="LCID" />
  1619.     <xsl:variable name="_LCID">
  1620.       <xsl:call-template name="localLCID">
  1621.         <xsl:with-param name="LCID" select="$LCID"/>
  1622.       </xsl:call-template>
  1623.     </xsl:variable>
  1624.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1625.   </xsl:template>
  1626.  
  1627.   
  1628.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1629.     <xsl:param name="LCID" />
  1630.     <xsl:variable name="_LCID">
  1631.       <xsl:call-template name="localLCID">
  1632.         <xsl:with-param name="LCID" select="$LCID"/>
  1633.       </xsl:call-template>
  1634.     </xsl:variable>
  1635.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1636.   </xsl:template>
  1637.  
  1638.   
  1639.   <xsl:template name="templ_str_TranslatorCap" >
  1640.     <xsl:param name="LCID" />
  1641.     <xsl:variable name="_LCID">
  1642.       <xsl:call-template name="localLCID">
  1643.         <xsl:with-param name="LCID" select="$LCID"/>
  1644.       </xsl:call-template>
  1645.     </xsl:variable>
  1646.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1647.   </xsl:template>
  1648.  
  1649.   
  1650.   <xsl:template name="templ_str_TranslatorsCap" >
  1651.     <xsl:param name="LCID" />
  1652.     <xsl:variable name="_LCID">
  1653.       <xsl:call-template name="localLCID">
  1654.         <xsl:with-param name="LCID" select="$LCID"/>
  1655.       </xsl:call-template>
  1656.     </xsl:variable>
  1657.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1658.   </xsl:template>
  1659.  
  1660.   
  1661.   <xsl:template name="templ_str_TranslatorShortCap" >
  1662.     <xsl:param name="LCID" />
  1663.     <xsl:variable name="_LCID">
  1664.       <xsl:call-template name="localLCID">
  1665.         <xsl:with-param name="LCID" select="$LCID"/>
  1666.       </xsl:call-template>
  1667.     </xsl:variable>
  1668.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1669.   </xsl:template>
  1670.  
  1671.   
  1672.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1673.     <xsl:param name="LCID" />
  1674.     <xsl:variable name="_LCID">
  1675.       <xsl:call-template name="localLCID">
  1676.         <xsl:with-param name="LCID" select="$LCID"/>
  1677.       </xsl:call-template>
  1678.     </xsl:variable>
  1679.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1680.   </xsl:template>
  1681.  
  1682.   
  1683.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1684.     <xsl:param name="LCID" />
  1685.     <xsl:variable name="_LCID">
  1686.       <xsl:call-template name="localLCID">
  1687.         <xsl:with-param name="LCID" select="$LCID"/>
  1688.       </xsl:call-template>
  1689.     </xsl:variable>
  1690.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1691.   </xsl:template>
  1692.  
  1693.   
  1694.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1695.     <xsl:param name="LCID" />
  1696.     <xsl:variable name="_LCID">
  1697.       <xsl:call-template name="localLCID">
  1698.         <xsl:with-param name="LCID" select="$LCID"/>
  1699.       </xsl:call-template>
  1700.     </xsl:variable>
  1701.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1702.   </xsl:template>
  1703.  
  1704.   
  1705.   <xsl:template name="templ_str_ComposerCap" >
  1706.     <xsl:param name="LCID" />
  1707.     <xsl:variable name="_LCID">
  1708.       <xsl:call-template name="localLCID">
  1709.         <xsl:with-param name="LCID" select="$LCID"/>
  1710.       </xsl:call-template>
  1711.     </xsl:variable>
  1712.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1713.   </xsl:template>
  1714.  
  1715.   
  1716.   <xsl:template name="templ_str_ComposersCap" >
  1717.     <xsl:param name="LCID" />
  1718.     <xsl:variable name="_LCID">
  1719.       <xsl:call-template name="localLCID">
  1720.         <xsl:with-param name="LCID" select="$LCID"/>
  1721.       </xsl:call-template>
  1722.     </xsl:variable>
  1723.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1724.   </xsl:template>
  1725.  
  1726.   
  1727.   <xsl:template name="templ_str_ComposerShortCap" >
  1728.     <xsl:param name="LCID" />
  1729.     <xsl:variable name="_LCID">
  1730.       <xsl:call-template name="localLCID">
  1731.         <xsl:with-param name="LCID" select="$LCID"/>
  1732.       </xsl:call-template>
  1733.     </xsl:variable>
  1734.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1735.   </xsl:template>
  1736.  
  1737.   
  1738.   <xsl:template name="templ_str_ComposersShortCap" >
  1739.     <xsl:param name="LCID" />
  1740.     <xsl:variable name="_LCID">
  1741.       <xsl:call-template name="localLCID">
  1742.         <xsl:with-param name="LCID" select="$LCID"/>
  1743.       </xsl:call-template>
  1744.     </xsl:variable>
  1745.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1746.   </xsl:template>
  1747.  
  1748.   
  1749.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1750.     <xsl:param name="LCID" />
  1751.     <xsl:variable name="_LCID">
  1752.       <xsl:call-template name="localLCID">
  1753.         <xsl:with-param name="LCID" select="$LCID"/>
  1754.       </xsl:call-template>
  1755.     </xsl:variable>
  1756.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1757.   </xsl:template>
  1758.  
  1759.   
  1760.   <xsl:template name="templ_str_CompiledByCap" >
  1761.     <xsl:param name="LCID" />
  1762.     <xsl:variable name="_LCID">
  1763.       <xsl:call-template name="localLCID">
  1764.         <xsl:with-param name="LCID" select="$LCID"/>
  1765.       </xsl:call-template>
  1766.     </xsl:variable>
  1767.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1768.   </xsl:template>
  1769.  
  1770.   
  1771.   <xsl:template name="templ_str_CompiledByUnCap" >
  1772.     <xsl:param name="LCID" />
  1773.     <xsl:variable name="_LCID">
  1774.       <xsl:call-template name="localLCID">
  1775.         <xsl:with-param name="LCID" select="$LCID"/>
  1776.       </xsl:call-template>
  1777.     </xsl:variable>
  1778.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1779.   </xsl:template>
  1780.  
  1781.   
  1782.   <xsl:template name="templ_str_CompilerCap" >
  1783.     <xsl:param name="LCID" />
  1784.     <xsl:variable name="_LCID">
  1785.       <xsl:call-template name="localLCID">
  1786.         <xsl:with-param name="LCID" select="$LCID"/>
  1787.       </xsl:call-template>
  1788.     </xsl:variable>
  1789.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1790.   </xsl:template>
  1791.  
  1792.   
  1793.   <xsl:template name="templ_str_CompilersCap" >
  1794.     <xsl:param name="LCID" />
  1795.     <xsl:variable name="_LCID">
  1796.       <xsl:call-template name="localLCID">
  1797.         <xsl:with-param name="LCID" select="$LCID"/>
  1798.       </xsl:call-template>
  1799.     </xsl:variable>
  1800.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1801.   </xsl:template>
  1802.  
  1803.   
  1804.   <xsl:template name="templ_str_CompilerShortCap" >
  1805.     <xsl:param name="LCID" />
  1806.     <xsl:variable name="_LCID">
  1807.       <xsl:call-template name="localLCID">
  1808.         <xsl:with-param name="LCID" select="$LCID"/>
  1809.       </xsl:call-template>
  1810.     </xsl:variable>
  1811.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1812.   </xsl:template>
  1813.  
  1814.   
  1815.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1816.     <xsl:param name="LCID" />
  1817.     <xsl:variable name="_LCID">
  1818.       <xsl:call-template name="localLCID">
  1819.         <xsl:with-param name="LCID" select="$LCID"/>
  1820.       </xsl:call-template>
  1821.     </xsl:variable>
  1822.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1823.   </xsl:template>
  1824.  
  1825.   
  1826.   <xsl:template name="templ_str_CompilersShortCap" >
  1827.     <xsl:param name="LCID" />
  1828.     <xsl:variable name="_LCID">
  1829.       <xsl:call-template name="localLCID">
  1830.         <xsl:with-param name="LCID" select="$LCID"/>
  1831.       </xsl:call-template>
  1832.     </xsl:variable>
  1833.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1834.   </xsl:template>
  1835.  
  1836.   
  1837.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1838.     <xsl:param name="LCID" />
  1839.     <xsl:variable name="_LCID">
  1840.       <xsl:call-template name="localLCID">
  1841.         <xsl:with-param name="LCID" select="$LCID"/>
  1842.       </xsl:call-template>
  1843.     </xsl:variable>
  1844.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1845.   </xsl:template>
  1846.  
  1847.   
  1848.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1849.     <xsl:param name="LCID" />
  1850.     <xsl:variable name="_LCID">
  1851.       <xsl:call-template name="localLCID">
  1852.         <xsl:with-param name="LCID" select="$LCID"/>
  1853.       </xsl:call-template>
  1854.     </xsl:variable>
  1855.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1856.   </xsl:template>
  1857.  
  1858.   
  1859.   <xsl:template name="templ_str_CitedCap" >
  1860.     <xsl:param name="LCID" />
  1861.     <xsl:variable name="_LCID">
  1862.       <xsl:call-template name="localLCID">
  1863.         <xsl:with-param name="LCID" select="$LCID"/>
  1864.       </xsl:call-template>
  1865.     </xsl:variable>
  1866.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CitedCap"/>
  1867.   </xsl:template>
  1868.  
  1869.   
  1870.  
  1871.   
  1872.   <xsl:template name="templ_prop_Culture" >
  1873.     <xsl:param name="LCID" />
  1874.     <xsl:variable name="_LCID">
  1875.       <xsl:call-template name="localLCID">
  1876.         <xsl:with-param name="LCID" select="$LCID"/>
  1877.       </xsl:call-template>
  1878.     </xsl:variable>
  1879.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1880.   </xsl:template>
  1881.  
  1882.   
  1883.   <xsl:template name="templ_prop_Direction" >
  1884.     <xsl:param name="LCID" />
  1885.     <xsl:variable name="_LCID">
  1886.       <xsl:call-template name="localLCID">
  1887.         <xsl:with-param name="LCID" select="$LCID"/>
  1888.       </xsl:call-template>
  1889.     </xsl:variable>
  1890.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1891.   </xsl:template>
  1892.  
  1893.  
  1894.   
  1895.  
  1896.   
  1897.   <xsl:template name="templ_prop_EndChars" >
  1898.     <xsl:param name="LCID" />
  1899.     <xsl:variable name="_LCID">
  1900.       <xsl:call-template name="localLCID">
  1901.         <xsl:with-param name="LCID" select="$LCID"/>
  1902.       </xsl:call-template>
  1903.     </xsl:variable>
  1904.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1905.   </xsl:template>
  1906.  
  1907.   
  1908.   <xsl:template name="templ_prop_NormalizeSpace" >
  1909.     <xsl:param name="LCID" />
  1910.     <xsl:variable name="_LCID">
  1911.       <xsl:call-template name="localLCID">
  1912.         <xsl:with-param name="LCID" select="$LCID"/>
  1913.       </xsl:call-template>
  1914.     </xsl:variable>
  1915.     <xsl:text>no</xsl:text>
  1916.     
  1917.   </xsl:template>
  1918.  
  1919.   
  1920.   <xsl:template name="templ_prop_Space" >
  1921.     <xsl:param name="LCID" />
  1922.     <xsl:variable name="_LCID">
  1923.       <xsl:call-template name="localLCID">
  1924.         <xsl:with-param name="LCID" select="$LCID"/>
  1925.       </xsl:call-template>
  1926.     </xsl:variable>
  1927.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1928.   </xsl:template>
  1929.  
  1930.   
  1931.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1932.     <xsl:param name="LCID" />
  1933.     <xsl:variable name="_LCID">
  1934.       <xsl:call-template name="localLCID">
  1935.         <xsl:with-param name="LCID" select="$LCID"/>
  1936.       </xsl:call-template>
  1937.     </xsl:variable>
  1938.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1939.   </xsl:template>
  1940.  
  1941.   
  1942.   <xsl:template name="templ_prop_ListSeparator" >
  1943.     <xsl:param name="LCID" />
  1944.     <xsl:variable name="_LCID">
  1945.       <xsl:call-template name="localLCID">
  1946.         <xsl:with-param name="LCID" select="$LCID"/>
  1947.       </xsl:call-template>
  1948.     </xsl:variable>
  1949.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1950.   </xsl:template>
  1951.  
  1952.   
  1953.   <xsl:template name="templ_prop_Dot" >
  1954.     <xsl:param name="LCID" />
  1955.     <xsl:variable name="_LCID">
  1956.       <xsl:call-template name="localLCID">
  1957.         <xsl:with-param name="LCID" select="$LCID"/>
  1958.       </xsl:call-template>
  1959.     </xsl:variable>
  1960.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1961.   </xsl:template>
  1962.  
  1963.   
  1964.   <xsl:template name="templ_prop_DotInitial" >
  1965.     <xsl:param name="LCID" />
  1966.     <xsl:variable name="_LCID">
  1967.       <xsl:call-template name="localLCID">
  1968.         <xsl:with-param name="LCID" select="$LCID"/>
  1969.       </xsl:call-template>
  1970.     </xsl:variable>
  1971.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1972.   </xsl:template>
  1973.  
  1974.   
  1975.   <xsl:template name="templ_prop_GroupSeparator" >
  1976.     <xsl:param name="LCID" />
  1977.     <xsl:variable name="_LCID">
  1978.       <xsl:call-template name="localLCID">
  1979.         <xsl:with-param name="LCID" select="$LCID"/>
  1980.       </xsl:call-template>
  1981.     </xsl:variable>
  1982.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1983.   </xsl:template>
  1984.  
  1985.   
  1986.   <xsl:template name="templ_prop_EnumSeparator" >
  1987.     <xsl:param name="LCID" />
  1988.     <xsl:variable name="_LCID">
  1989.       <xsl:call-template name="localLCID">
  1990.         <xsl:with-param name="LCID" select="$LCID"/>
  1991.       </xsl:call-template>
  1992.     </xsl:variable>
  1993.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1994.   </xsl:template>
  1995.  
  1996.   
  1997.   <xsl:template name="templ_prop_Equal" >
  1998.     <xsl:param name="LCID" />
  1999.     <xsl:variable name="_LCID">
  2000.       <xsl:call-template name="localLCID">
  2001.         <xsl:with-param name="LCID" select="$LCID"/>
  2002.       </xsl:call-template>
  2003.     </xsl:variable>
  2004.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2005.   </xsl:template>
  2006.  
  2007.   
  2008.   <xsl:template name="templ_prop_Enum" >
  2009.     <xsl:param name="LCID" />
  2010.     <xsl:variable name="_LCID">
  2011.       <xsl:call-template name="localLCID">
  2012.         <xsl:with-param name="LCID" select="$LCID"/>
  2013.       </xsl:call-template>
  2014.     </xsl:variable>
  2015.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2016.   </xsl:template>
  2017.  
  2018.   
  2019.   <xsl:template name="templ_prop_OpenQuote" >
  2020.     <xsl:param name="LCID" />
  2021.     <xsl:variable name="_LCID">
  2022.       <xsl:call-template name="localLCID">
  2023.         <xsl:with-param name="LCID" select="$LCID"/>
  2024.       </xsl:call-template>
  2025.     </xsl:variable>
  2026.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2027.   </xsl:template>
  2028.  
  2029.   
  2030.   <xsl:template name="templ_prop_CloseQuote" >
  2031.     <xsl:param name="LCID" />
  2032.     <xsl:variable name="_LCID">
  2033.       <xsl:call-template name="localLCID">
  2034.         <xsl:with-param name="LCID" select="$LCID"/>
  2035.       </xsl:call-template>
  2036.     </xsl:variable>
  2037.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2038.   </xsl:template>
  2039.  
  2040.   
  2041.   <xsl:template name="templ_prop_OpenBracket" >
  2042.     <xsl:param name="LCID" />
  2043.     <xsl:variable name="_LCID">
  2044.       <xsl:call-template name="localLCID">
  2045.         <xsl:with-param name="LCID" select="$LCID"/>
  2046.       </xsl:call-template>
  2047.     </xsl:variable>
  2048.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2049.   </xsl:template>
  2050.  
  2051.   
  2052.   <xsl:template name="templ_prop_CloseBracket" >
  2053.     <xsl:param name="LCID" />
  2054.     <xsl:variable name="_LCID">
  2055.       <xsl:call-template name="localLCID">
  2056.         <xsl:with-param name="LCID" select="$LCID"/>
  2057.       </xsl:call-template>
  2058.     </xsl:variable>
  2059.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2060.   </xsl:template>
  2061.  
  2062.   
  2063.   <xsl:template name="templ_prop_FromToDash" >
  2064.     <xsl:param name="LCID" />
  2065.     <xsl:variable name="_LCID">
  2066.       <xsl:call-template name="localLCID">
  2067.         <xsl:with-param name="LCID" select="$LCID"/>
  2068.       </xsl:call-template>
  2069.     </xsl:variable>
  2070.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2071.   </xsl:template>
  2072.  
  2073.   
  2074.   <xsl:template name="templ_prop_OpenLink" >
  2075.     <xsl:param name="LCID" />
  2076.     <xsl:variable name="_LCID">
  2077.       <xsl:call-template name="localLCID">
  2078.         <xsl:with-param name="LCID" select="$LCID"/>
  2079.       </xsl:call-template>
  2080.     </xsl:variable>
  2081.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2082.   </xsl:template>
  2083.  
  2084.   
  2085.   <xsl:template name="templ_prop_CloseLink" >
  2086.     <xsl:param name="LCID" />
  2087.     <xsl:variable name="_LCID">
  2088.       <xsl:call-template name="localLCID">
  2089.         <xsl:with-param name="LCID" select="$LCID"/>
  2090.       </xsl:call-template>
  2091.     </xsl:variable>
  2092.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2093.   </xsl:template>
  2094.  
  2095.   
  2096.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2097.     <xsl:param name="LCID" />
  2098.     <xsl:variable name="_LCID">
  2099.       <xsl:call-template name="localLCID">
  2100.         <xsl:with-param name="LCID" select="$LCID"/>
  2101.       </xsl:call-template>
  2102.     </xsl:variable>
  2103.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2104.   </xsl:template>
  2105.  
  2106.   
  2107.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2108.     <xsl:param name="LCID" />
  2109.     <xsl:variable name="_LCID">
  2110.       <xsl:call-template name="localLCID">
  2111.         <xsl:with-param name="LCID" select="$LCID"/>
  2112.       </xsl:call-template>
  2113.     </xsl:variable>
  2114.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2115.   </xsl:template>
  2116.  
  2117.   
  2118.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2119.     <xsl:param name="LCID" />
  2120.     <xsl:variable name="_LCID">
  2121.       <xsl:call-template name="localLCID">
  2122.         <xsl:with-param name="LCID" select="$LCID"/>
  2123.       </xsl:call-template>
  2124.     </xsl:variable>
  2125.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:F"/>
  2126.   </xsl:template>
  2127.  
  2128.   
  2129.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2130.     <xsl:param name="LCID" />
  2131.     <xsl:variable name="_LCID">
  2132.       <xsl:call-template name="localLCID">
  2133.         <xsl:with-param name="LCID" select="$LCID"/>
  2134.       </xsl:call-template>
  2135.     </xsl:variable>
  2136.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:M"/>
  2137.   </xsl:template>
  2138.  
  2139.   
  2140.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2141.     <xsl:param name="LCID" />
  2142.     <xsl:variable name="_LCID">
  2143.       <xsl:call-template name="localLCID">
  2144.         <xsl:with-param name="LCID" select="$LCID"/>
  2145.       </xsl:call-template>
  2146.     </xsl:variable>
  2147.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleAuthor/b:L"/>
  2148.   </xsl:template>
  2149.  
  2150.   
  2151.   <xsl:template name="templ_prop_SimpleDate_D" >
  2152.     <xsl:param name="LCID" />
  2153.     <xsl:variable name="_LCID">
  2154.       <xsl:call-template name="localLCID">
  2155.         <xsl:with-param name="LCID" select="$LCID"/>
  2156.       </xsl:call-template>
  2157.     </xsl:variable>
  2158.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:D"/>
  2159.   </xsl:template>
  2160.  
  2161.   
  2162.   <xsl:template name="templ_prop_SimpleDate_M" >
  2163.     <xsl:param name="LCID" />
  2164.     <xsl:variable name="_LCID">
  2165.       <xsl:call-template name="localLCID">
  2166.         <xsl:with-param name="LCID" select="$LCID"/>
  2167.       </xsl:call-template>
  2168.     </xsl:variable>
  2169.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:M"/>
  2170.   </xsl:template>
  2171.  
  2172.   
  2173.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2174.     <xsl:param name="LCID" />
  2175.     <xsl:variable name="_LCID">
  2176.       <xsl:call-template name="localLCID">
  2177.         <xsl:with-param name="LCID" select="$LCID"/>
  2178.       </xsl:call-template>
  2179.     </xsl:variable>
  2180.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:SimpleDate/b:Y"/>
  2181.   </xsl:template>
  2182.  
  2183.   
  2184.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2185.     <xsl:param name="LCID" />
  2186.     <xsl:variable name="_LCID">
  2187.       <xsl:call-template name="localLCID">
  2188.         <xsl:with-param name="LCID" select="$LCID"/>
  2189.       </xsl:call-template>
  2190.     </xsl:variable>
  2191.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2192.   </xsl:template>
  2193.  
  2194.   
  2195.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2196.     <xsl:param name="LCID" />
  2197.     <xsl:variable name="_LCID">
  2198.       <xsl:call-template name="localLCID">
  2199.         <xsl:with-param name="LCID" select="$LCID"/>
  2200.       </xsl:call-template>
  2201.     </xsl:variable>
  2202.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2203.   </xsl:template>
  2204.  
  2205.   
  2206.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2207.     <xsl:param name="LCID" />
  2208.     <xsl:variable name="_LCID">
  2209.       <xsl:call-template name="localLCID">
  2210.         <xsl:with-param name="LCID" select="$LCID"/>
  2211.       </xsl:call-template>
  2212.     </xsl:variable>
  2213.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2214.   </xsl:template>
  2215.  
  2216.   
  2217.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2218.     <xsl:param name="LCID" />
  2219.     <xsl:variable name="_LCID">
  2220.       <xsl:call-template name="localLCID">
  2221.         <xsl:with-param name="LCID" select="$LCID"/>
  2222.       </xsl:call-template>
  2223.     </xsl:variable>
  2224.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2225.   </xsl:template>
  2226.  
  2227.   
  2228.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2229.     <xsl:param name="LCID" />
  2230.     <xsl:variable name="_LCID">
  2231.       <xsl:call-template name="localLCID">
  2232.         <xsl:with-param name="LCID" select="$LCID"/>
  2233.       </xsl:call-template>
  2234.     </xsl:variable>
  2235.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2236.   </xsl:template>
  2237.  
  2238.   
  2239.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2240.     <xsl:param name="LCID" />
  2241.     <xsl:variable name="_LCID">
  2242.       <xsl:call-template name="localLCID">
  2243.         <xsl:with-param name="LCID" select="$LCID"/>
  2244.       </xsl:call-template>
  2245.     </xsl:variable>
  2246.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2247.   </xsl:template>
  2248.  
  2249.   
  2250.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2251.     <xsl:param name="LCID" />
  2252.     <xsl:variable name="_LCID">
  2253.       <xsl:call-template name="localLCID">
  2254.         <xsl:with-param name="LCID" select="$LCID"/>
  2255.       </xsl:call-template>
  2256.     </xsl:variable>
  2257.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2258.   </xsl:template>
  2259.  
  2260.   
  2261.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2262.     <xsl:param name="LCID" />
  2263.     <xsl:variable name="_LCID">
  2264.       <xsl:call-template name="localLCID">
  2265.         <xsl:with-param name="LCID" select="$LCID"/>
  2266.       </xsl:call-template>
  2267.     </xsl:variable>
  2268.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2269.   </xsl:template>
  2270.  
  2271.   
  2272.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2273.     <xsl:param name="LCID" />
  2274.     <xsl:variable name="_LCID">
  2275.       <xsl:call-template name="localLCID">
  2276.         <xsl:with-param name="LCID" select="$LCID"/>
  2277.       </xsl:call-template>
  2278.     </xsl:variable>
  2279.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2280.   </xsl:template>
  2281.  
  2282.   
  2283.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2284.     <xsl:param name="LCID" />
  2285.     <xsl:variable name="_LCID">
  2286.       <xsl:call-template name="localLCID">
  2287.         <xsl:with-param name="LCID" select="$LCID"/>
  2288.       </xsl:call-template>
  2289.     </xsl:variable>
  2290.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2291.   </xsl:template>
  2292.  
  2293.   
  2294.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2295.     <xsl:param name="LCID" />
  2296.     <xsl:variable name="_LCID">
  2297.       <xsl:call-template name="localLCID">
  2298.         <xsl:with-param name="LCID" select="$LCID"/>
  2299.       </xsl:call-template>
  2300.     </xsl:variable>
  2301.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2302.   </xsl:template>
  2303.  
  2304.   
  2305.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2306.     <xsl:param name="LCID" />
  2307.     <xsl:variable name="_LCID">
  2308.       <xsl:call-template name="localLCID">
  2309.         <xsl:with-param name="LCID" select="$LCID"/>
  2310.       </xsl:call-template>
  2311.     </xsl:variable>
  2312.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2313.   </xsl:template>
  2314.  
  2315.   
  2316.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2317.     <xsl:param name="LCID" />
  2318.     <xsl:variable name="_LCID">
  2319.       <xsl:call-template name="localLCID">
  2320.         <xsl:with-param name="LCID" select="$LCID"/>
  2321.       </xsl:call-template>
  2322.     </xsl:variable>
  2323.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2324.   </xsl:template>
  2325.  
  2326.   
  2327.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2328.     <xsl:param name="LCID" />
  2329.     <xsl:variable name="_LCID">
  2330.       <xsl:call-template name="localLCID">
  2331.         <xsl:with-param name="LCID" select="$LCID"/>
  2332.       </xsl:call-template>
  2333.     </xsl:variable>
  2334.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2335.   </xsl:template>
  2336.  
  2337.   
  2338.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2339.     <xsl:param name="LCID" />
  2340.     <xsl:variable name="_LCID">
  2341.       <xsl:call-template name="localLCID">
  2342.         <xsl:with-param name="LCID" select="$LCID"/>
  2343.       </xsl:call-template>
  2344.     </xsl:variable>
  2345.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2346.   </xsl:template>
  2347.  
  2348.   
  2349.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2350.     <xsl:param name="LCID" />
  2351.     <xsl:variable name="_LCID">
  2352.       <xsl:call-template name="localLCID">
  2353.         <xsl:with-param name="LCID" select="$LCID"/>
  2354.       </xsl:call-template>
  2355.     </xsl:variable>
  2356.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2357.   </xsl:template>
  2358.  
  2359.   
  2360.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2361.     <xsl:param name="LCID" />
  2362.     <xsl:variable name="_LCID">
  2363.       <xsl:call-template name="localLCID">
  2364.         <xsl:with-param name="LCID" select="$LCID"/>
  2365.       </xsl:call-template>
  2366.     </xsl:variable>
  2367.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2368.   </xsl:template>
  2369.  
  2370.   
  2371.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2372.     <xsl:param name="LCID" />
  2373.     <xsl:variable name="_LCID">
  2374.       <xsl:call-template name="localLCID">
  2375.         <xsl:with-param name="LCID" select="$LCID"/>
  2376.       </xsl:call-template>
  2377.     </xsl:variable>
  2378.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2379.   </xsl:template>
  2380.  
  2381.   
  2382.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2383.     <xsl:param name="LCID" />
  2384.     <xsl:variable name="_LCID">
  2385.       <xsl:call-template name="localLCID">
  2386.         <xsl:with-param name="LCID" select="$LCID"/>
  2387.       </xsl:call-template>
  2388.     </xsl:variable>
  2389.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2390.   </xsl:template>
  2391.  
  2392.   
  2393.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2394.     <xsl:param name="LCID" />
  2395.     <xsl:variable name="_LCID">
  2396.       <xsl:call-template name="localLCID">
  2397.         <xsl:with-param name="LCID" select="$LCID"/>
  2398.       </xsl:call-template>
  2399.     </xsl:variable>
  2400.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2401.   </xsl:template>
  2402.  
  2403.   
  2404.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2405.     <xsl:param name="LCID" />
  2406.     <xsl:variable name="_LCID">
  2407.       <xsl:call-template name="localLCID">
  2408.         <xsl:with-param name="LCID" select="$LCID"/>
  2409.       </xsl:call-template>
  2410.     </xsl:variable>
  2411.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2412.   </xsl:template>
  2413.  
  2414.   
  2415.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2416.     <xsl:param name="LCID" />
  2417.     <xsl:variable name="_LCID">
  2418.       <xsl:call-template name="localLCID">
  2419.         <xsl:with-param name="LCID" select="$LCID"/>
  2420.       </xsl:call-template>
  2421.     </xsl:variable>
  2422.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2423.   </xsl:template>
  2424.  
  2425.   
  2426.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2427.     <xsl:param name="LCID" />
  2428.     <xsl:variable name="_LCID">
  2429.       <xsl:call-template name="localLCID">
  2430.         <xsl:with-param name="LCID" select="$LCID"/>
  2431.       </xsl:call-template>
  2432.     </xsl:variable>
  2433.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2434.   </xsl:template>
  2435.  
  2436.   
  2437.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2438.     <xsl:param name="LCID" />
  2439.     <xsl:variable name="_LCID">
  2440.       <xsl:call-template name="localLCID">
  2441.         <xsl:with-param name="LCID" select="$LCID"/>
  2442.       </xsl:call-template>
  2443.     </xsl:variable>
  2444.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2445.   </xsl:template>
  2446.  
  2447.   
  2448.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2449.     <xsl:param name="LCID" />
  2450.     <xsl:variable name="_LCID">
  2451.       <xsl:call-template name="localLCID">
  2452.         <xsl:with-param name="LCID" select="$LCID"/>
  2453.       </xsl:call-template>
  2454.     </xsl:variable>
  2455.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2456.   </xsl:template>
  2457.  
  2458.   
  2459.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2460.     <xsl:param name="LCID" />
  2461.     <xsl:variable name="_LCID">
  2462.       <xsl:call-template name="localLCID">
  2463.         <xsl:with-param name="LCID" select="$LCID"/>
  2464.       </xsl:call-template>
  2465.     </xsl:variable>
  2466.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2467.   </xsl:template>
  2468.  
  2469.   
  2470.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2471.     <xsl:param name="LCID" />
  2472.     <xsl:variable name="_LCID">
  2473.       <xsl:call-template name="localLCID">
  2474.         <xsl:with-param name="LCID" select="$LCID"/>
  2475.       </xsl:call-template>
  2476.     </xsl:variable>
  2477.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2478.   </xsl:template>
  2479.  
  2480.   
  2481.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2482.     <xsl:param name="LCID" />
  2483.     <xsl:variable name="_LCID">
  2484.       <xsl:call-template name="localLCID">
  2485.         <xsl:with-param name="LCID" select="$LCID"/>
  2486.       </xsl:call-template>
  2487.     </xsl:variable>
  2488.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2489.   </xsl:template>
  2490.  
  2491.   
  2492.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2493.     <xsl:param name="LCID" />
  2494.     <xsl:variable name="_LCID">
  2495.       <xsl:call-template name="localLCID">
  2496.         <xsl:with-param name="LCID" select="$LCID"/>
  2497.       </xsl:call-template>
  2498.     </xsl:variable>
  2499.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2500.   </xsl:template>
  2501.  
  2502.   
  2503.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2504.     <xsl:param name="LCID" />
  2505.     <xsl:variable name="_LCID">
  2506.       <xsl:call-template name="localLCID">
  2507.         <xsl:with-param name="LCID" select="$LCID"/>
  2508.       </xsl:call-template>
  2509.     </xsl:variable>
  2510.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2511.   </xsl:template>
  2512.  
  2513.   
  2514.   <xsl:template name="templ_prop_Hyphens" >
  2515.     <xsl:param name="LCID" />
  2516.     <xsl:variable name="_LCID">
  2517.       <xsl:call-template name="localLCID">
  2518.         <xsl:with-param name="LCID" select="$LCID"/>
  2519.       </xsl:call-template>
  2520.     </xsl:variable>
  2521.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2522.   </xsl:template>
  2523.  
  2524.   
  2525.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2526.     <xsl:param name="LCID" />
  2527.     <xsl:variable name="_LCID">
  2528.       <xsl:call-template name="localLCID">
  2529.         <xsl:with-param name="LCID" select="$LCID"/>
  2530.       </xsl:call-template>
  2531.     </xsl:variable>
  2532.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2533.   </xsl:template>
  2534.  
  2535.   
  2536.   <xsl:template name="templ_prop_APA_Date_DM" >
  2537.     <xsl:param name="LCID" />
  2538.     <xsl:variable name="_LCID">
  2539.       <xsl:call-template name="localLCID">
  2540.         <xsl:with-param name="LCID" select="$LCID"/>
  2541.       </xsl:call-template>
  2542.     </xsl:variable>
  2543.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2544.   </xsl:template>
  2545.  
  2546.   
  2547.   <xsl:template name="templ_prop_APA_Date_MY" >
  2548.     <xsl:param name="LCID" />
  2549.     <xsl:variable name="_LCID">
  2550.       <xsl:call-template name="localLCID">
  2551.         <xsl:with-param name="LCID" select="$LCID"/>
  2552.       </xsl:call-template>
  2553.     </xsl:variable>
  2554.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2555.   </xsl:template>
  2556.  
  2557.   
  2558.   <xsl:template name="templ_prop_APA_Date_DY" >
  2559.     <xsl:param name="LCID" />
  2560.     <xsl:variable name="_LCID">
  2561.       <xsl:call-template name="localLCID">
  2562.         <xsl:with-param name="LCID" select="$LCID"/>
  2563.       </xsl:call-template>
  2564.     </xsl:variable>
  2565.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2566.   </xsl:template>
  2567.  
  2568.   
  2569.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2570.     <xsl:param name="LCID" />
  2571.     <xsl:variable name="_LCID">
  2572.       <xsl:call-template name="localLCID">
  2573.         <xsl:with-param name="LCID" select="$LCID"/>
  2574.       </xsl:call-template>
  2575.     </xsl:variable>
  2576.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2577.   </xsl:template>
  2578.  
  2579.   
  2580.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2581.     <xsl:param name="LCID" />
  2582.     <xsl:variable name="_LCID">
  2583.       <xsl:call-template name="localLCID">
  2584.         <xsl:with-param name="LCID" select="$LCID"/>
  2585.       </xsl:call-template>
  2586.     </xsl:variable>
  2587.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2588.   </xsl:template>
  2589.  
  2590.   
  2591.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2592.     <xsl:param name="LCID" />
  2593.     <xsl:variable name="_LCID">
  2594.       <xsl:call-template name="localLCID">
  2595.         <xsl:with-param name="LCID" select="$LCID"/>
  2596.       </xsl:call-template>
  2597.     </xsl:variable>
  2598.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2599.   </xsl:template>
  2600.  
  2601.   
  2602.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2603.     <xsl:param name="LCID" />
  2604.     <xsl:variable name="_LCID">
  2605.       <xsl:call-template name="localLCID">
  2606.         <xsl:with-param name="LCID" select="$LCID"/>
  2607.       </xsl:call-template>
  2608.     </xsl:variable>
  2609.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2610.   </xsl:template>
  2611.  
  2612.   
  2613.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2614.     <xsl:param name="LCID" />
  2615.     <xsl:variable name="_LCID">
  2616.       <xsl:call-template name="localLCID">
  2617.         <xsl:with-param name="LCID" select="$LCID"/>
  2618.       </xsl:call-template>
  2619.     </xsl:variable>
  2620.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2621.   </xsl:template>
  2622.  
  2623.   
  2624.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2625.     <xsl:param name="LCID" />
  2626.     <xsl:variable name="_LCID">
  2627.       <xsl:call-template name="localLCID">
  2628.         <xsl:with-param name="LCID" select="$LCID"/>
  2629.       </xsl:call-template>
  2630.     </xsl:variable>
  2631.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2632.   </xsl:template>
  2633.  
  2634.   
  2635.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2636.     <xsl:param name="LCID" />
  2637.     <xsl:variable name="_LCID">
  2638.       <xsl:call-template name="localLCID">
  2639.         <xsl:with-param name="LCID" select="$LCID"/>
  2640.       </xsl:call-template>
  2641.     </xsl:variable>
  2642.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2643.   </xsl:template>
  2644.  
  2645.   
  2646.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2647.     <xsl:param name="LCID" />
  2648.     <xsl:variable name="_LCID">
  2649.       <xsl:call-template name="localLCID">
  2650.         <xsl:with-param name="LCID" select="$LCID"/>
  2651.       </xsl:call-template>
  2652.     </xsl:variable>
  2653.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2654.   </xsl:template>
  2655.  
  2656.   
  2657.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2658.     <xsl:param name="LCID" />
  2659.     <xsl:variable name="_LCID">
  2660.       <xsl:call-template name="localLCID">
  2661.         <xsl:with-param name="LCID" select="$LCID"/>
  2662.       </xsl:call-template>
  2663.     </xsl:variable>
  2664.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2665.   </xsl:template>
  2666.  
  2667.   
  2668.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2669.     <xsl:param name="LCID" />
  2670.     <xsl:variable name="_LCID">
  2671.       <xsl:call-template name="localLCID">
  2672.         <xsl:with-param name="LCID" select="$LCID"/>
  2673.       </xsl:call-template>
  2674.     </xsl:variable>
  2675.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2676.   </xsl:template>
  2677.  
  2678.   
  2679.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2680.     <xsl:param name="LCID" />
  2681.     <xsl:variable name="_LCID">
  2682.       <xsl:call-template name="localLCID">
  2683.         <xsl:with-param name="LCID" select="$LCID"/>
  2684.       </xsl:call-template>
  2685.     </xsl:variable>
  2686.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2687.   </xsl:template>
  2688.  
  2689.   
  2690.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2691.     <xsl:param name="LCID" />
  2692.     <xsl:variable name="_LCID">
  2693.       <xsl:call-template name="localLCID">
  2694.         <xsl:with-param name="LCID" select="$LCID"/>
  2695.       </xsl:call-template>
  2696.     </xsl:variable>
  2697.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2698.   </xsl:template>
  2699.  
  2700.   
  2701.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2702.     <xsl:param name="LCID" />
  2703.     <xsl:variable name="_LCID">
  2704.       <xsl:call-template name="localLCID">
  2705.         <xsl:with-param name="LCID" select="$LCID"/>
  2706.       </xsl:call-template>
  2707.     </xsl:variable>
  2708.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2709.   </xsl:template>
  2710.  
  2711.   
  2712.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2713.     <xsl:param name="LCID" />
  2714.     <xsl:variable name="_LCID">
  2715.       <xsl:call-template name="localLCID">
  2716.         <xsl:with-param name="LCID" select="$LCID"/>
  2717.       </xsl:call-template>
  2718.     </xsl:variable>
  2719.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2720.   </xsl:template>
  2721.  
  2722.   
  2723.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2724.     <xsl:param name="LCID" />
  2725.     <xsl:variable name="_LCID">
  2726.       <xsl:call-template name="localLCID">
  2727.         <xsl:with-param name="LCID" select="$LCID"/>
  2728.       </xsl:call-template>
  2729.     </xsl:variable>
  2730.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2731.   </xsl:template>
  2732.  
  2733.   
  2734.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2735.     <xsl:param name="LCID" />
  2736.     <xsl:variable name="_LCID">
  2737.       <xsl:call-template name="localLCID">
  2738.         <xsl:with-param name="LCID" select="$LCID"/>
  2739.       </xsl:call-template>
  2740.     </xsl:variable>
  2741.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2742.   </xsl:template>
  2743.  
  2744.   
  2745.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2746.     <xsl:param name="LCID" />
  2747.     <xsl:variable name="_LCID">
  2748.       <xsl:call-template name="localLCID">
  2749.         <xsl:with-param name="LCID" select="$LCID"/>
  2750.       </xsl:call-template>
  2751.     </xsl:variable>
  2752.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2753.   </xsl:template>
  2754.  
  2755.   
  2756.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2757.     <xsl:param name="LCID" />
  2758.     <xsl:variable name="_LCID">
  2759.       <xsl:call-template name="localLCID">
  2760.         <xsl:with-param name="LCID" select="$LCID"/>
  2761.       </xsl:call-template>
  2762.     </xsl:variable>
  2763.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2764.   </xsl:template>
  2765.  
  2766.   
  2767.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2768.     <xsl:param name="LCID" />
  2769.     <xsl:variable name="_LCID">
  2770.       <xsl:call-template name="localLCID">
  2771.         <xsl:with-param name="LCID" select="$LCID"/>
  2772.       </xsl:call-template>
  2773.     </xsl:variable>
  2774.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2775.   </xsl:template>
  2776.  
  2777.   
  2778.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2779.     <xsl:param name="LCID" />
  2780.     <xsl:variable name="_LCID">
  2781.       <xsl:call-template name="localLCID">
  2782.         <xsl:with-param name="LCID" select="$LCID"/>
  2783.       </xsl:call-template>
  2784.     </xsl:variable>
  2785.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2786.   </xsl:template>
  2787.  
  2788.   
  2789.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2790.     <xsl:param name="LCID" />
  2791.     <xsl:variable name="_LCID">
  2792.       <xsl:call-template name="localLCID">
  2793.         <xsl:with-param name="LCID" select="$LCID"/>
  2794.       </xsl:call-template>
  2795.     </xsl:variable>
  2796.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2797.   </xsl:template>
  2798.  
  2799.   
  2800.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2801.     <xsl:param name="LCID" />
  2802.     <xsl:variable name="_LCID">
  2803.       <xsl:call-template name="localLCID">
  2804.         <xsl:with-param name="LCID" select="$LCID"/>
  2805.       </xsl:call-template>
  2806.     </xsl:variable>
  2807.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2808.   </xsl:template>
  2809.  
  2810.   
  2811.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2812.     <xsl:param name="LCID" />
  2813.     <xsl:variable name="_LCID">
  2814.       <xsl:call-template name="localLCID">
  2815.         <xsl:with-param name="LCID" select="$LCID"/>
  2816.       </xsl:call-template>
  2817.     </xsl:variable>
  2818.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2819.   </xsl:template>
  2820.  
  2821.   
  2822.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2823.     <xsl:param name="LCID" />
  2824.     <xsl:variable name="_LCID">
  2825.       <xsl:call-template name="localLCID">
  2826.         <xsl:with-param name="LCID" select="$LCID"/>
  2827.       </xsl:call-template>
  2828.     </xsl:variable>
  2829.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2830.   </xsl:template>
  2831.  
  2832.   
  2833.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2834.     <xsl:param name="LCID" />
  2835.     <xsl:variable name="_LCID">
  2836.       <xsl:call-template name="localLCID">
  2837.         <xsl:with-param name="LCID" select="$LCID"/>
  2838.       </xsl:call-template>
  2839.     </xsl:variable>
  2840.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2841.   </xsl:template>
  2842.  
  2843.   
  2844.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2845.     <xsl:param name="LCID" />
  2846.     <xsl:variable name="_LCID">
  2847.       <xsl:call-template name="localLCID">
  2848.         <xsl:with-param name="LCID" select="$LCID"/>
  2849.       </xsl:call-template>
  2850.     </xsl:variable>
  2851.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2852.   </xsl:template>
  2853.  
  2854.   
  2855.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2856.     <xsl:param name="LCID" />
  2857.     <xsl:variable name="_LCID">
  2858.       <xsl:call-template name="localLCID">
  2859.         <xsl:with-param name="LCID" select="$LCID"/>
  2860.       </xsl:call-template>
  2861.     </xsl:variable>
  2862.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2863.   </xsl:template>
  2864.  
  2865.   
  2866.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2867.     <xsl:param name="LCID" />
  2868.     <xsl:variable name="_LCID">
  2869.       <xsl:call-template name="localLCID">
  2870.         <xsl:with-param name="LCID" select="$LCID"/>
  2871.       </xsl:call-template>
  2872.     </xsl:variable>
  2873.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2874.   </xsl:template>
  2875.  
  2876.   
  2877.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2878.     <xsl:param name="LCID" />
  2879.     <xsl:variable name="_LCID">
  2880.       <xsl:call-template name="localLCID">
  2881.         <xsl:with-param name="LCID" select="$LCID"/>
  2882.       </xsl:call-template>
  2883.     </xsl:variable>
  2884.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2885.   </xsl:template>
  2886.  
  2887.   
  2888.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2889.     <xsl:param name="LCID" />
  2890.     <xsl:variable name="_LCID">
  2891.       <xsl:call-template name="localLCID">
  2892.         <xsl:with-param name="LCID" select="$LCID"/>
  2893.       </xsl:call-template>
  2894.     </xsl:variable>
  2895.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2896.   </xsl:template>
  2897.  
  2898.   
  2899.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2900.     <xsl:param name="LCID" />
  2901.     <xsl:variable name="_LCID">
  2902.       <xsl:call-template name="localLCID">
  2903.         <xsl:with-param name="LCID" select="$LCID"/>
  2904.       </xsl:call-template>
  2905.     </xsl:variable>
  2906.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2907.   </xsl:template>
  2908.  
  2909.   
  2910.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2911.     <xsl:param name="LCID" />
  2912.     <xsl:variable name="_LCID">
  2913.       <xsl:call-template name="localLCID">
  2914.         <xsl:with-param name="LCID" select="$LCID"/>
  2915.       </xsl:call-template>
  2916.     </xsl:variable>
  2917.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2918.   </xsl:template>
  2919.  
  2920.   
  2921.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2922.     <xsl:param name="LCID" />
  2923.     <xsl:variable name="_LCID">
  2924.       <xsl:call-template name="localLCID">
  2925.         <xsl:with-param name="LCID" select="$LCID"/>
  2926.       </xsl:call-template>
  2927.     </xsl:variable>
  2928.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2929.   </xsl:template>
  2930.  
  2931.   
  2932.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2933.     <xsl:param name="LCID" />
  2934.     <xsl:variable name="_LCID">
  2935.       <xsl:call-template name="localLCID">
  2936.         <xsl:with-param name="LCID" select="$LCID"/>
  2937.       </xsl:call-template>
  2938.     </xsl:variable>
  2939.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2940.   </xsl:template>
  2941.  
  2942.   
  2943.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2944.     <xsl:param name="LCID" />
  2945.     <xsl:variable name="_LCID">
  2946.       <xsl:call-template name="localLCID">
  2947.         <xsl:with-param name="LCID" select="$LCID"/>
  2948.       </xsl:call-template>
  2949.     </xsl:variable>
  2950.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2951.   </xsl:template>
  2952.  
  2953.   
  2954.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2955.     <xsl:param name="LCID" />
  2956.     <xsl:variable name="_LCID">
  2957.       <xsl:call-template name="localLCID">
  2958.         <xsl:with-param name="LCID" select="$LCID"/>
  2959.       </xsl:call-template>
  2960.     </xsl:variable>
  2961.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2962.   </xsl:template>
  2963.  
  2964.   
  2965.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2966.     <xsl:param name="LCID" />
  2967.     <xsl:variable name="_LCID">
  2968.       <xsl:call-template name="localLCID">
  2969.         <xsl:with-param name="LCID" select="$LCID"/>
  2970.       </xsl:call-template>
  2971.     </xsl:variable>
  2972.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2973.   </xsl:template>
  2974.  
  2975.   
  2976.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2977.     <xsl:param name="LCID" />
  2978.     <xsl:variable name="_LCID">
  2979.       <xsl:call-template name="localLCID">
  2980.         <xsl:with-param name="LCID" select="$LCID"/>
  2981.       </xsl:call-template>
  2982.     </xsl:variable>
  2983.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2984.   </xsl:template>
  2985.  
  2986.   
  2987.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2988.     <xsl:param name="LCID" />
  2989.     <xsl:variable name="_LCID">
  2990.       <xsl:call-template name="localLCID">
  2991.         <xsl:with-param name="LCID" select="$LCID"/>
  2992.       </xsl:call-template>
  2993.     </xsl:variable>
  2994.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2995.   </xsl:template>
  2996.  
  2997.   
  2998.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2999.     <xsl:param name="LCID" />
  3000.     <xsl:variable name="_LCID">
  3001.       <xsl:call-template name="localLCID">
  3002.         <xsl:with-param name="LCID" select="$LCID"/>
  3003.       </xsl:call-template>
  3004.     </xsl:variable>
  3005.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  3006.   </xsl:template>
  3007.  
  3008.   
  3009.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  3010.     <xsl:param name="LCID" />
  3011.     <xsl:variable name="_LCID">
  3012.       <xsl:call-template name="localLCID">
  3013.         <xsl:with-param name="LCID" select="$LCID"/>
  3014.       </xsl:call-template>
  3015.     </xsl:variable>
  3016.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  3017.   </xsl:template>
  3018.  
  3019.   
  3020.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  3021.     <xsl:param name="LCID" />
  3022.     <xsl:variable name="_LCID">
  3023.       <xsl:call-template name="localLCID">
  3024.         <xsl:with-param name="LCID" select="$LCID"/>
  3025.       </xsl:call-template>
  3026.     </xsl:variable>
  3027.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3028.   </xsl:template>
  3029.  
  3030.   
  3031.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3032.     <xsl:param name="LCID" />
  3033.     <xsl:variable name="_LCID">
  3034.       <xsl:call-template name="localLCID">
  3035.         <xsl:with-param name="LCID" select="$LCID"/>
  3036.       </xsl:call-template>
  3037.     </xsl:variable>
  3038.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3039.   </xsl:template>
  3040.  
  3041.   
  3042.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3043.     <xsl:param name="LCID" />
  3044.     <xsl:variable name="_LCID">
  3045.       <xsl:call-template name="localLCID">
  3046.         <xsl:with-param name="LCID" select="$LCID"/>
  3047.       </xsl:call-template>
  3048.     </xsl:variable>
  3049.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3050.   </xsl:template>
  3051.  
  3052.   
  3053.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3054.     <xsl:param name="LCID" />
  3055.     <xsl:variable name="_LCID">
  3056.       <xsl:call-template name="localLCID">
  3057.         <xsl:with-param name="LCID" select="$LCID"/>
  3058.       </xsl:call-template>
  3059.     </xsl:variable>
  3060.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3061.   </xsl:template>
  3062.  
  3063.   
  3064.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3065.     <xsl:param name="LCID" />
  3066.     <xsl:variable name="_LCID">
  3067.       <xsl:call-template name="localLCID">
  3068.         <xsl:with-param name="LCID" select="$LCID"/>
  3069.       </xsl:call-template>
  3070.     </xsl:variable>
  3071.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3072.   </xsl:template>
  3073.  
  3074.   
  3075.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3076.     <xsl:param name="LCID" />
  3077.     <xsl:variable name="_LCID">
  3078.       <xsl:call-template name="localLCID">
  3079.         <xsl:with-param name="LCID" select="$LCID"/>
  3080.       </xsl:call-template>
  3081.     </xsl:variable>
  3082.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3083.   </xsl:template>
  3084.  
  3085.   
  3086.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3087.     <xsl:param name="LCID" />
  3088.     <xsl:variable name="_LCID">
  3089.       <xsl:call-template name="localLCID">
  3090.         <xsl:with-param name="LCID" select="$LCID"/>
  3091.       </xsl:call-template>
  3092.     </xsl:variable>
  3093.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3094.   </xsl:template>
  3095.  
  3096.   
  3097.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3098.     <xsl:param name="LCID" />
  3099.     <xsl:variable name="_LCID">
  3100.       <xsl:call-template name="localLCID">
  3101.         <xsl:with-param name="LCID" select="$LCID"/>
  3102.       </xsl:call-template>
  3103.     </xsl:variable>
  3104.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3105.   </xsl:template>
  3106.  
  3107.   
  3108.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3109.     <xsl:param name="LCID" />
  3110.     <xsl:variable name="_LCID">
  3111.       <xsl:call-template name="localLCID">
  3112.         <xsl:with-param name="LCID" select="$LCID"/>
  3113.       </xsl:call-template>
  3114.     </xsl:variable>
  3115.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3116.   </xsl:template>
  3117.  
  3118.   
  3119.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3120.     <xsl:param name="LCID" />
  3121.     <xsl:variable name="_LCID">
  3122.       <xsl:call-template name="localLCID">
  3123.         <xsl:with-param name="LCID" select="$LCID"/>
  3124.       </xsl:call-template>
  3125.     </xsl:variable>
  3126.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3127.   </xsl:template>
  3128.  
  3129.   
  3130.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3131.     <xsl:param name="LCID" />
  3132.     <xsl:variable name="_LCID">
  3133.       <xsl:call-template name="localLCID">
  3134.         <xsl:with-param name="LCID" select="$LCID"/>
  3135.       </xsl:call-template>
  3136.     </xsl:variable>
  3137.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3138.   </xsl:template>
  3139.  
  3140.   
  3141.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3142.     <xsl:param name="LCID" />
  3143.     <xsl:variable name="_LCID">
  3144.       <xsl:call-template name="localLCID">
  3145.         <xsl:with-param name="LCID" select="$LCID"/>
  3146.       </xsl:call-template>
  3147.     </xsl:variable>
  3148.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3149.   </xsl:template>
  3150.  
  3151.   
  3152.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3153.     <xsl:param name="LCID" />
  3154.     <xsl:variable name="_LCID">
  3155.       <xsl:call-template name="localLCID">
  3156.         <xsl:with-param name="LCID" select="$LCID"/>
  3157.       </xsl:call-template>
  3158.     </xsl:variable>
  3159.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3160.   </xsl:template>
  3161.  
  3162.   
  3163.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3164.     <xsl:param name="LCID" />
  3165.     <xsl:variable name="_LCID">
  3166.       <xsl:call-template name="localLCID">
  3167.         <xsl:with-param name="LCID" select="$LCID"/>
  3168.       </xsl:call-template>
  3169.     </xsl:variable>
  3170.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3171.   </xsl:template>
  3172.  
  3173.   
  3174.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3175.     <xsl:param name="LCID" />
  3176.     <xsl:variable name="_LCID">
  3177.       <xsl:call-template name="localLCID">
  3178.         <xsl:with-param name="LCID" select="$LCID"/>
  3179.       </xsl:call-template>
  3180.     </xsl:variable>
  3181.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3182.   </xsl:template>
  3183.  
  3184.   
  3185.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3186.     <xsl:param name="LCID" />
  3187.     <xsl:variable name="_LCID">
  3188.       <xsl:call-template name="localLCID">
  3189.         <xsl:with-param name="LCID" select="$LCID"/>
  3190.       </xsl:call-template>
  3191.     </xsl:variable>
  3192.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3193.   </xsl:template>
  3194.  
  3195.   
  3196.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3197.     <xsl:param name="LCID" />
  3198.     <xsl:variable name="_LCID">
  3199.       <xsl:call-template name="localLCID">
  3200.         <xsl:with-param name="LCID" select="$LCID"/>
  3201.       </xsl:call-template>
  3202.     </xsl:variable>
  3203.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3204.   </xsl:template>
  3205.  
  3206.   
  3207.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3208.     <xsl:param name="LCID" />
  3209.     <xsl:variable name="_LCID">
  3210.       <xsl:call-template name="localLCID">
  3211.         <xsl:with-param name="LCID" select="$LCID"/>
  3212.       </xsl:call-template>
  3213.     </xsl:variable>
  3214.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3215.   </xsl:template>
  3216.  
  3217.   
  3218.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3219.     <xsl:param name="LCID" />
  3220.     <xsl:variable name="_LCID">
  3221.       <xsl:call-template name="localLCID">
  3222.         <xsl:with-param name="LCID" select="$LCID"/>
  3223.       </xsl:call-template>
  3224.     </xsl:variable>
  3225.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3226.   </xsl:template>
  3227.  
  3228.   
  3229.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3230.     <xsl:param name="LCID" />
  3231.     <xsl:variable name="_LCID">
  3232.       <xsl:call-template name="localLCID">
  3233.         <xsl:with-param name="LCID" select="$LCID"/>
  3234.       </xsl:call-template>
  3235.     </xsl:variable>
  3236.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3237.   </xsl:template>
  3238.  
  3239.   
  3240.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3241.     <xsl:param name="LCID" />
  3242.     <xsl:variable name="_LCID">
  3243.       <xsl:call-template name="localLCID">
  3244.         <xsl:with-param name="LCID" select="$LCID"/>
  3245.       </xsl:call-template>
  3246.     </xsl:variable>
  3247.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3248.   </xsl:template>
  3249.  
  3250.   
  3251.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3252.     <xsl:param name="LCID" />
  3253.     <xsl:variable name="_LCID">
  3254.       <xsl:call-template name="localLCID">
  3255.         <xsl:with-param name="LCID" select="$LCID"/>
  3256.       </xsl:call-template>
  3257.     </xsl:variable>
  3258.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3259.   </xsl:template>
  3260.  
  3261.   
  3262.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3263.     <xsl:param name="LCID" />
  3264.     <xsl:variable name="_LCID">
  3265.       <xsl:call-template name="localLCID">
  3266.         <xsl:with-param name="LCID" select="$LCID"/>
  3267.       </xsl:call-template>
  3268.     </xsl:variable>
  3269.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3270.   </xsl:template>
  3271.  
  3272.   
  3273.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3274.     <xsl:param name="LCID" />
  3275.     <xsl:variable name="_LCID">
  3276.       <xsl:call-template name="localLCID">
  3277.         <xsl:with-param name="LCID" select="$LCID"/>
  3278.       </xsl:call-template>
  3279.     </xsl:variable>
  3280.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3281.   </xsl:template>
  3282.  
  3283.   
  3284.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3285.     <xsl:param name="LCID" />
  3286.     <xsl:variable name="_LCID">
  3287.       <xsl:call-template name="localLCID">
  3288.         <xsl:with-param name="LCID" select="$LCID"/>
  3289.       </xsl:call-template>
  3290.     </xsl:variable>
  3291.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3292.   </xsl:template>
  3293.  
  3294.   
  3295.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3296.     <xsl:param name="LCID" />
  3297.     <xsl:variable name="_LCID">
  3298.       <xsl:call-template name="localLCID">
  3299.         <xsl:with-param name="LCID" select="$LCID"/>
  3300.       </xsl:call-template>
  3301.     </xsl:variable>
  3302.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3303.   </xsl:template>
  3304.  
  3305.   
  3306.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3307.     <xsl:param name="LCID" />
  3308.     <xsl:variable name="_LCID">
  3309.       <xsl:call-template name="localLCID">
  3310.         <xsl:with-param name="LCID" select="$LCID"/>
  3311.       </xsl:call-template>
  3312.     </xsl:variable>
  3313.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3314.   </xsl:template>
  3315.  
  3316.   
  3317.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3318.     <xsl:param name="LCID" />
  3319.     <xsl:variable name="_LCID">
  3320.       <xsl:call-template name="localLCID">
  3321.         <xsl:with-param name="LCID" select="$LCID"/>
  3322.       </xsl:call-template>
  3323.     </xsl:variable>
  3324.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3325.   </xsl:template>
  3326.  
  3327.   
  3328.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3329.     <xsl:param name="LCID" />
  3330.     <xsl:variable name="_LCID">
  3331.       <xsl:call-template name="localLCID">
  3332.         <xsl:with-param name="LCID" select="$LCID"/>
  3333.       </xsl:call-template>
  3334.     </xsl:variable>
  3335.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3336.   </xsl:template>
  3337.  
  3338.   
  3339.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3340.     <xsl:param name="LCID" />
  3341.     <xsl:variable name="_LCID">
  3342.       <xsl:call-template name="localLCID">
  3343.         <xsl:with-param name="LCID" select="$LCID"/>
  3344.       </xsl:call-template>
  3345.     </xsl:variable>
  3346.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3347.   </xsl:template>
  3348.  
  3349.   
  3350.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3351.     <xsl:param name="LCID" />
  3352.     <xsl:variable name="_LCID">
  3353.       <xsl:call-template name="localLCID">
  3354.         <xsl:with-param name="LCID" select="$LCID"/>
  3355.       </xsl:call-template>
  3356.     </xsl:variable>
  3357.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3358.   </xsl:template>
  3359.  
  3360.   
  3361.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3362.     <xsl:param name="LCID" />
  3363.     <xsl:variable name="_LCID">
  3364.       <xsl:call-template name="localLCID">
  3365.         <xsl:with-param name="LCID" select="$LCID"/>
  3366.       </xsl:call-template>
  3367.     </xsl:variable>
  3368.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3369.   </xsl:template>
  3370.  
  3371.   
  3372.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3373.     <xsl:param name="LCID" />
  3374.     <xsl:variable name="_LCID">
  3375.       <xsl:call-template name="localLCID">
  3376.         <xsl:with-param name="LCID" select="$LCID"/>
  3377.       </xsl:call-template>
  3378.     </xsl:variable>
  3379.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3380.   </xsl:template>
  3381.  
  3382.   
  3383.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3384.     <xsl:param name="LCID" />
  3385.     <xsl:variable name="_LCID">
  3386.       <xsl:call-template name="localLCID">
  3387.         <xsl:with-param name="LCID" select="$LCID"/>
  3388.       </xsl:call-template>
  3389.     </xsl:variable>
  3390.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3391.   </xsl:template>
  3392.  
  3393.  
  3394.       
  3395.  
  3396.     <xsl:template match="/">
  3397.         <xsl:choose>
  3398.  
  3399.             
  3400.  
  3401.             
  3402.             <xsl:when test="b:Version">
  3403.                 <xsl:text>2006.5.07</xsl:text>
  3404.             </xsl:when>
  3405.             <xsl:when test="b:OfficeStyleKey">
  3406.                 <xsl:text>GB7714</xsl:text>
  3407.             </xsl:when>
  3408.  
  3409.             
  3410.             <xsl:when test="b:GetImportantFields">
  3411.                 <b:ImportantFields>
  3412.                     <xsl:choose>
  3413.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3414.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3415.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3416.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3417.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3418.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3419.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3420.                         </xsl:when>
  3421.  
  3422.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3423.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3424.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3425.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3426.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3427.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3428.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3429.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3430.                         </xsl:when>
  3431.  
  3432.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3433.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3434.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3435.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3436.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3437.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3438.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3439.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3440.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3441.                         </xsl:when>
  3442.  
  3443.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3444.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3445.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3446.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3447.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3448.                             <b:ImportantField><xsl:text>b:Edition</xsl:text></b:ImportantField>
  3449.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3450.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3451.                         </xsl:when>
  3452.  
  3453.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3454.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3455.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3456.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3457.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3458.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3459.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3460.                         </xsl:when>
  3461.  
  3462.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3463.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3464.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3465.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3466.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3467.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3468.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3469.                         </xsl:when>
  3470.  
  3471.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3472.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3473.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3474.                             <b:ImportantField><xsl:text>b:AlbumTitle</xsl:text></b:ImportantField>
  3475.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3476.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3477.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3478.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3479.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3480.                         </xsl:when>
  3481.  
  3482.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3483.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3484.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3485.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3486.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3487.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3488.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3489.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3490.                         </xsl:when>
  3491.  
  3492.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3493.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3494.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3495.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3496.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3497.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3498.                         </xsl:when>
  3499.  
  3500.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3501.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3502.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3503.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3504.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3505.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3506.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3507.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3508.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3509.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3510.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3511.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3512.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3513.                         </xsl:when>
  3514.  
  3515.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3516.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3517.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3518.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3519.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3520.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3521.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3522.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3523.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3524.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3525.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3526.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3527.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3528.                         </xsl:when>
  3529.  
  3530.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3531.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3532.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3533.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3534.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3535.                         </xsl:when>
  3536.  
  3537.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3538.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3539.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3540.                             <b:ImportantField><xsl:text>b:BroadcastTitle</xsl:text></b:ImportantField>
  3541.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3542.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3543.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3544.                             <b:ImportantField><xsl:text>b:Broadcaster</xsl:text></b:ImportantField>
  3545.                             <b:ImportantField><xsl:text>b:Station</xsl:text></b:ImportantField>
  3546.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3547.                         </xsl:when>
  3548.  
  3549.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3550.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3551.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3552.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3553.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3554.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3555.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3556.                             <b:ImportantField><xsl:text>b:Type</xsl:text></b:ImportantField>
  3557.                             <b:ImportantField><xsl:text>b:PatentNumber</xsl:text></b:ImportantField>
  3558.                         </xsl:when>
  3559.  
  3560.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3561.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3562.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3563.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3564.                             <b:ImportantField><xsl:text>b:ProductionCompany</xsl:text></b:ImportantField>
  3565.                             <b:ImportantField><xsl:text>b:Medium</xsl:text></b:ImportantField>
  3566.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3567.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3568.                         </xsl:when>
  3569.  
  3570.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3571.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3572.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3573.                             <b:ImportantField><xsl:text>b:CaseNumber</xsl:text></b:ImportantField>
  3574.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3575.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3576.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3577.                             <b:ImportantField><xsl:text>b:AbbreviatedCaseNumber</xsl:text></b:ImportantField>
  3578.                         </xsl:when>
  3579.  
  3580.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3581.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3582.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3583.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3584.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3585.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3586.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3587.                             <b:ImportantField><xsl:text>b:Volume</xsl:text></b:ImportantField>
  3588.                             <b:ImportantField><xsl:text>b:Issue</xsl:text></b:ImportantField>
  3589.                             <b:ImportantField><xsl:text>b:StandardNumber</xsl:text></b:ImportantField>
  3590.                         </xsl:when>
  3591.  
  3592.                     </xsl:choose>
  3593.                 </b:ImportantFields>
  3594.             </xsl:when>
  3595.             
  3596.             <xsl:when test="b:Citation">
  3597.  
  3598.                 <xsl:variable name="ListPopulatedWithMain">
  3599.                         <xsl:call-template name="populateMain">
  3600.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3601.                         </xsl:call-template>
  3602.                 </xsl:variable>
  3603.  
  3604.             
  3605.             
  3606.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3607.                     <head>
  3608.                     </head>
  3609.                     <body>
  3610.                         <xsl:variable name="LCID">
  3611.                           <xsl:choose>
  3612.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3613.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3614.                             </xsl:when>
  3615.                             <xsl:otherwise>
  3616.                               <xsl:value-of select="b:LCID"/>
  3617.                             </xsl:otherwise>
  3618.                           </xsl:choose>
  3619.                         </xsl:variable>
  3620.  
  3621.                         <xsl:element name="p">
  3622.  
  3623.                         <xsl:attribute name="lang">
  3624.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3625.                         </xsl:attribute>
  3626.  
  3627.                         <xsl:attribute name="dir">
  3628.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3629.                         </xsl:attribute>
  3630.  
  3631.                         <xsl:variable name="type">
  3632.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3633.                         </xsl:variable>
  3634.  
  3635.                         <xsl:variable name="title0">
  3636.                             <xsl:choose>
  3637.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3638.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3639.                                 </xsl:when>
  3640.  
  3641.                                 <xsl:otherwise>
  3642.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3643.                                 </xsl:otherwise>
  3644.                             </xsl:choose>
  3645.                         </xsl:variable>
  3646.  
  3647.                         <xsl:variable name="year0">
  3648.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3649.                         </xsl:variable>                        
  3650.  
  3651.                         <xsl:variable name="authorMain">
  3652.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3653.                         </xsl:variable>
  3654.  
  3655.                         <xsl:variable name="author0">
  3656.                             <xsl:choose>
  3657.                                 <xsl:when test="(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType = 'JournalArticle' or
  3658.                                     msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType = 'ConferenceProceedings')
  3659.                                     and string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title) > 0">
  3660.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3661.                                 </xsl:when>
  3662.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3663.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3664.                                 </xsl:when>
  3665.                                 <xsl:otherwise>
  3666.                                     <xsl:variable name="cAuthors">
  3667.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3668.                                     </xsl:variable>
  3669.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3670.                                         
  3671.                                         <xsl:choose>
  3672.                                             <xsl:when test="position() >= 2">
  3673.                                             </xsl:when>
  3674.                                             <xsl:when test="position() = 1">
  3675.                                                 <xsl:call-template name="formatNameCore">
  3676.                                                     <xsl:with-param name="FML">
  3677.                                                         <xsl:call-template name="templ_prop_SimpleAuthor_L"/>
  3678.                                                     </xsl:with-param>
  3679.                                                     <xsl:with-param name="FM">
  3680.                                                         <xsl:call-template name="templ_prop_SimpleAuthor_F"/>
  3681.                                                     </xsl:with-param>
  3682.                                                     <xsl:with-param name="ML">
  3683.                                                         <xsl:call-template name="templ_prop_SimpleAuthor_L"/>
  3684.                                                     </xsl:with-param>
  3685.                                                     <xsl:with-param name="FL">
  3686.                                                         <xsl:call-template name="templ_prop_SimpleAuthor_L"/>
  3687.                                                     </xsl:with-param>
  3688.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3689.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3690.                                                 </xsl:call-template>
  3691.                                             </xsl:when>
  3692.                                         </xsl:choose>
  3693.                                     </xsl:for-each>
  3694.                                     <xsl:if test = "$cAuthors > 1">
  3695.                                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3696.                                         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3697.                                     </xsl:if>
  3698.                                 </xsl:otherwise>
  3699.                             </xsl:choose>
  3700.                         </xsl:variable>
  3701.  
  3702.                         <xsl:variable name="title">
  3703.                             <xsl:choose>
  3704.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3705.                                 </xsl:when>
  3706.                                 
  3707.                                 <xsl:otherwise>
  3708.                                     <xsl:value-of select="$title0" />
  3709.                                 </xsl:otherwise>
  3710.                             </xsl:choose>
  3711.                         </xsl:variable>
  3712.  
  3713.                         <xsl:variable name="year">
  3714.                             <xsl:choose>
  3715.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3716.                                 </xsl:when>
  3717.                                 
  3718.                                 <xsl:otherwise>
  3719.                                     <xsl:value-of select="$year0" />
  3720.                                 </xsl:otherwise>
  3721.                             </xsl:choose>
  3722.                         </xsl:variable>                        
  3723.  
  3724.                         <xsl:variable name="author">
  3725.                             <xsl:choose>
  3726.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3727.                                 </xsl:when>
  3728.                                 <xsl:otherwise>
  3729.                                     <xsl:value-of select="$author0" />
  3730.                                 </xsl:otherwise>
  3731.                             </xsl:choose>
  3732.                         </xsl:variable>
  3733.  
  3734.                         <xsl:variable name="prop_APA_Hyphens">
  3735.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3736.                         </xsl:variable>
  3737.  
  3738.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3739.  
  3740.                         <xsl:variable name="volVolume">
  3741.                             <xsl:if test="string-length($volume) > 0">
  3742.                                 <xsl:call-template name="StringFormat">
  3743.                                     <xsl:with-param name="format">
  3744.                                       <xsl:choose>
  3745.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3746.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3747.                                         </xsl:when>
  3748.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3749.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3750.                                         </xsl:when>
  3751.                                         <xsl:otherwise>
  3752.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3753.                                         </xsl:otherwise>
  3754.                                       </xsl:choose>
  3755.                                     </xsl:with-param>
  3756.                                     <xsl:with-param name="parameters">
  3757.                                         <t:params>
  3758.                                             <t:param>
  3759.                                                 <xsl:value-of select="$volume"/>
  3760.                                             </t:param>
  3761.                                         </t:params>
  3762.                                     </xsl:with-param>
  3763.                                 </xsl:call-template>
  3764.                             </xsl:if>
  3765.                         </xsl:variable>
  3766.  
  3767.  
  3768.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3769.  
  3770.                         <xsl:variable name="ppPages">
  3771.                           <xsl:if test="string-length($pages)>0">
  3772.                             <xsl:choose>
  3773.                               <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  3774.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  3775.                               </xsl:when>
  3776.                               <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  3777.                                 <xsl:call-template name="templ_str_PageShort"/>
  3778.                               </xsl:when>
  3779.                               <xsl:otherwise>
  3780.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  3781.                               </xsl:otherwise>
  3782.                             </xsl:choose>
  3783.                             <xsl:call-template name="templ_prop_Space"/>
  3784.                             <xsl:value-of select="$pages"/>
  3785.                           </xsl:if>
  3786.                         </xsl:variable>
  3787.  
  3788.                         <xsl:variable name="displayAuthor">
  3789.                             <xsl:value-of select="$author" />
  3790.                         </xsl:variable>
  3791.  
  3792.                         <xsl:variable name="displayTitle">
  3793.                         </xsl:variable>
  3794.  
  3795.                         
  3796.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  3797.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  3798.                         </xsl:if>
  3799.                     
  3800.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  3801.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  3802.                         </xsl:if>
  3803.  
  3804.                         <xsl:value-of select="$displayAuthor" />
  3805.  
  3806.                         <xsl:if test="string-length($displayTitle) > 0">
  3807.                             <xsl:if test="string-length($displayAuthor) > 0">
  3808.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3809.                             </xsl:if>
  3810.                             <xsl:value-of select="$displayTitle"/>
  3811.                         </xsl:if>
  3812.  
  3813.                         <xsl:if test="string-length($year) > 0">
  3814.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3815.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3816.                             </xsl:if>    
  3817.                             <xsl:value-of select="$year"/>
  3818.                         </xsl:if>
  3819.  
  3820.                         <xsl:if test="string-length($author0) = 0 and string-length($year0) = 0">
  3821.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  3822.                         </xsl:if>
  3823.  
  3824.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  3825.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  3826.                                 <xsl:call-template name="templ_prop_Space"/>
  3827.                             </xsl:if>            
  3828.  
  3829.                             <xsl:choose>
  3830.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  3831.                                     <xsl:value-of select="$volume"/>
  3832.                                     <xsl:call-template name="templ_prop_Enum"/>
  3833.                                     <xsl:value-of select="$pages"/>
  3834.                                 </xsl:when>
  3835.                                 <xsl:when test="string-length($volVolume) > 0">
  3836.                                     <xsl:value-of select="$volVolume"/>
  3837.                                 </xsl:when>
  3838.                                 <xsl:when test="string-length($ppPages) > 0">
  3839.                                     <xsl:value-of select="$ppPages"/>
  3840.                                 </xsl:when>
  3841.                             </xsl:choose>
  3842.                         </xsl:if>
  3843.  
  3844.                         <xsl:if test="/b:Citation/b:PageSuffix">
  3845.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  3846.                         </xsl:if>
  3847.                         
  3848.                         <xsl:if test="/b:Citation/b:LastAuthor">
  3849.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  3850.                         </xsl:if>
  3851.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  3852.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  3853.                         </xsl:if>
  3854.                     
  3855.  
  3856.                         </xsl:element>
  3857.                     </body>
  3858.                 </html>
  3859.             </xsl:when>
  3860.  
  3861.  
  3862.             <xsl:when test="b:Bibliography">
  3863.                 <html xmlns:o="urn:schemas-microsoft-com:office:office"
  3864.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  3865.                         xmlns="http://www.w3.org/TR/REC-html40">
  3866.                     <head>
  3867.                         
  3868.                         <style>
  3869.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  3870.                         </style>
  3871.                     </head>
  3872.  
  3873.                     <body>
  3874.  
  3875.                         
  3876.                         
  3877.                         <xsl:variable name="ListPopulatedWithMain">
  3878.                             <xsl:call-template name="populateMain">
  3879.                                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  3880.                             </xsl:call-template>
  3881.                         </xsl:variable>
  3882.  
  3883.                         
  3884.                         
  3885.                         <xsl:variable name="SortedList">
  3886.                             <xsl:call-template name="sortedList">
  3887.                                 <xsl:with-param name="sourceRoot">
  3888.                                     <xsl:copy-of select="$ListPopulatedWithMain"/>
  3889.                                 </xsl:with-param>
  3890.                                 
  3891.                             </xsl:call-template>
  3892.                         </xsl:variable>
  3893.  
  3894.                         
  3895.                         <xsl:for-each select="msxsl:node-set($SortedList)/b:Bibliography/b:Source">
  3896.                             <xsl:element name="p">
  3897.                                 <xsl:variable name="LCID">
  3898.                                   <xsl:choose>
  3899.                                     <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3900.                                       <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3901.                                     </xsl:when>
  3902.                                     <xsl:otherwise>
  3903.                                       <xsl:value-of select="b:LCID"/>
  3904.                                     </xsl:otherwise>
  3905.                                   </xsl:choose>
  3906.                                 </xsl:variable>
  3907.                                 <xsl:attribute name="lang">
  3908.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3909.                                 </xsl:attribute>
  3910.                                 <xsl:attribute name="dir">
  3911.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3912.                                 </xsl:attribute>
  3913.                                 <xsl:attribute name="class">
  3914.                                     <xsl:value-of select="'MsoBibliography'"/>
  3915.                                 </xsl:attribute>
  3916.  
  3917.                             
  3918.  
  3919.                                 
  3920.                                 <xsl:variable name="prevBook">
  3921.                                     <xsl:value-of select="position()-1"/>
  3922.                                 </xsl:variable>
  3923.  
  3924.                                 <xsl:variable name="cMaxAllow">
  3925.                                     <xsl:call-template name="maxAuthor"/>
  3926.                                 </xsl:variable>
  3927.  
  3928.                                 <xsl:variable name="Main">
  3929.                                     <xsl:call-template name="formatMain"/>
  3930.                                 </xsl:variable>
  3931.  
  3932.                                 <xsl:variable name="Editors">
  3933.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Editor">
  3934.                                         <xsl:call-template name="formatEditor"/>
  3935.                                         <xsl:call-template name="templ_prop_Space"/>
  3936.                                     </xsl:if>
  3937.                                 </xsl:variable>
  3938.  
  3939.                                 <xsl:variable name="Translators">
  3940.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Translator">
  3941.                                         <xsl:call-template name="formatTranslator"/>
  3942.                                         <xsl:call-template name="templ_prop_Space"/>
  3943.                                     </xsl:if>
  3944.                                 </xsl:variable>
  3945.  
  3946.                                 <xsl:variable name="Authors">
  3947.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Author">
  3948.                                         <xsl:call-template name="formatAuthor"/>
  3949.                                         <xsl:call-template name="templ_prop_Space"/>
  3950.                                     </xsl:if>
  3951.                                 </xsl:variable>
  3952.  
  3953.                                 <xsl:variable name="BookAuthors">
  3954.                                     <xsl:if test="b:Author/b:Main != b:Author/b:BookAuthor">
  3955.                                         <xsl:call-template name="formatBookAuthor"/>
  3956.                                         <xsl:call-template name="templ_prop_Space"/>
  3957.                                     </xsl:if>
  3958.                                 </xsl:variable>
  3959.  
  3960.                                 <xsl:variable name="Artists">
  3961.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Artist">
  3962.                                         <xsl:call-template name="formatArtist"/>
  3963.                                         <xsl:call-template name="templ_prop_Space"/>
  3964.                                     </xsl:if>
  3965.                                 </xsl:variable>
  3966.  
  3967.                                 <xsl:variable name="Compilers">
  3968.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Compiler">
  3969.                                         <xsl:call-template name="formatCompiler"/>
  3970.                                         <xsl:call-template name="templ_prop_Space"/>
  3971.                                     </xsl:if>
  3972.                                 </xsl:variable>
  3973.  
  3974.                                 <xsl:variable name="Composers">
  3975.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Composer">
  3976.                                         <xsl:call-template name="formatComposer"/>
  3977.                                         <xsl:call-template name="templ_prop_Space"/>
  3978.                                     </xsl:if>
  3979.                                 </xsl:variable>
  3980.  
  3981.                                 <xsl:variable name="Conductors">
  3982.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Conductor">
  3983.                                         <xsl:call-template name="formatConductor"/>
  3984.                                         <xsl:call-template name="templ_prop_Space"/>
  3985.                                     </xsl:if>
  3986.                                 </xsl:variable>
  3987.  
  3988.                                 <xsl:variable name="Counsels">
  3989.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Counsel">
  3990.                                         <xsl:call-template name="formatCounsel"/>
  3991.                                         <xsl:call-template name="templ_prop_Space"/>
  3992.                                     </xsl:if>
  3993.                                 </xsl:variable>
  3994.  
  3995.                                 <xsl:variable name="Directors">
  3996.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Director">
  3997.                                         <xsl:call-template name="formatDirector"/>
  3998.                                         <xsl:call-template name="templ_prop_Space"/>
  3999.                                     </xsl:if>
  4000.                                 </xsl:variable>
  4001.  
  4002.                                 <xsl:variable name="Interviewees">
  4003.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Interviewee">
  4004.                                         <xsl:call-template name="formatInterviewee"/>
  4005.                                         <xsl:call-template name="templ_prop_Space"/>
  4006.                                     </xsl:if>
  4007.                                 </xsl:variable>
  4008.  
  4009.                 <xsl:variable name="Interviewers">
  4010.                   <xsl:if test="b:Author/b:Main != b:Author/b:Interviewer">
  4011.                     <xsl:call-template name="formatInterviewer"/>
  4012.                                         <xsl:call-template name="templ_prop_Space"/>
  4013.                   </xsl:if>
  4014.                 </xsl:variable>
  4015.  
  4016.                 <xsl:variable name="Inventors">
  4017.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Inventor">
  4018.                                         <xsl:call-template name="formatInventor"/>
  4019.                                         <xsl:call-template name="templ_prop_Space"/>
  4020.                                     </xsl:if>
  4021.                                 </xsl:variable>
  4022.  
  4023.                                 <xsl:variable name="Performers">
  4024.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Performer">
  4025.                                         <xsl:call-template name="formatPerformer"/>
  4026.                                         <xsl:call-template name="templ_prop_Space"/>
  4027.                                     </xsl:if>
  4028.                                 </xsl:variable>
  4029.  
  4030.                                 <xsl:variable name="ProducerNames">
  4031.                                     <xsl:if test="b:Author/b:Main != b:Author/b:ProducerName">
  4032.                                         <xsl:call-template name="formatProducerName"/>
  4033.                                         <xsl:call-template name="templ_prop_Space"/>
  4034.                                     </xsl:if>
  4035.                                 </xsl:variable>
  4036.  
  4037.                                 <xsl:variable name="Reporters">
  4038.                                     <xsl:if test="string-length(b:Reporter)">
  4039.                                         <xsl:call-template name="templ_prop_Space"/>
  4040.                                         <xsl:value-of select ="b:Reporter"/>
  4041.                                         <xsl:call-template name="templ_prop_Dot"/>
  4042.                                     </xsl:if>
  4043.                                 </xsl:variable>
  4044.  
  4045.                                 <xsl:variable name="Writers">
  4046.                                     <xsl:if test="b:Author/b:Main != b:Author/b:Writer">
  4047.                                         <xsl:call-template name="formatWriter"/>
  4048.                                         <xsl:call-template name="templ_prop_Space"/>
  4049.                                     </xsl:if>
  4050.                                 </xsl:variable>
  4051.  
  4052.                                 <xsl:variable name="CityAndPublishers">
  4053.                                     <xsl:call-template name ="formatLocation"/>
  4054.                                 </xsl:variable>
  4055.  
  4056.                                 <xsl:variable name ="DayMonthYear">
  4057.                                     <xsl:call-template name ="formatDayMonthYear"/>
  4058.                                 </xsl:variable>
  4059.  
  4060.                                 <xsl:variable name ="DayMonthYearAccessed">
  4061.                                     <xsl:call-template name ="formatDayMonthYearAccessed"/>
  4062.                                 </xsl:variable>
  4063.  
  4064.                                 <xsl:variable name ="Year">
  4065.                                     <xsl:if test="string-length(b:Year)>0">
  4066.                                         <xsl:value-of select ="b:Year"/>
  4067.                                     </xsl:if>
  4068.                                 </xsl:variable>
  4069.  
  4070.                             <xsl:variable name="prop_APA_Hyphens">
  4071.                               <xsl:call-template name="templ_prop_Hyphens"/>
  4072.                             </xsl:variable>
  4073.  
  4074.                                 <xsl:variable name ="Volume">
  4075.                                     <xsl:if test ="string-length(b:Volume)>0">
  4076.                                         <xsl:variable name ="volume" select="b:Volume"/>
  4077.                                         <xsl:call-template name="StringFormat">
  4078.                                             <xsl:with-param name="format">
  4079.                                               <xsl:choose>
  4080.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4081.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4082.                                                 </xsl:when>
  4083.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4084.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4085.                                                 </xsl:when>
  4086.                                                 <xsl:otherwise>
  4087.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4088.                                                 </xsl:otherwise>
  4089.                                               </xsl:choose>
  4090.                                             </xsl:with-param>
  4091.                                             <xsl:with-param name="parameters">
  4092.                                                 <t:params>
  4093.                                                     <t:param>
  4094.                                                         <xsl:value-of select="$volume"/>
  4095.                                                     </t:param>
  4096.                                                 </t:params>
  4097.                                             </xsl:with-param>
  4098.                                         </xsl:call-template>                                            
  4099.                                     </xsl:if>
  4100.                                 </xsl:variable>
  4101.  
  4102.                                 <xsl:variable name ="VolumeChunk">
  4103.                                     <xsl:if test ="string-length($Volume)>0">
  4104.                                         <xsl:call-template name="templ_prop_Space"/>
  4105.                                         <xsl:call-template name="appendField_Dot">
  4106.                                             <xsl:with-param name="field" select ="$Volume"/>
  4107.                                         </xsl:call-template>
  4108.                                     </xsl:if>
  4109.                                 </xsl:variable>
  4110.  
  4111.                                 <xsl:variable name ="VolumeAndNumberOfVolumes">
  4112.                                     <xsl:value-of select="$Volume"/>
  4113.                                 </xsl:variable>
  4114.  
  4115.                                 <xsl:variable name ="SepPublicationTitle">
  4116.                                   <xsl:if test ="string-length(b:PublicationTitle)>0">
  4117.                                     <xsl:value-of select ="b:PublicationTitle"/>
  4118.                                   </xsl:if>
  4119.                                 </xsl:variable>
  4120.  
  4121.  
  4122.                                 <xsl:variable name="pages" select="b:Pages"/>
  4123.  
  4124.                                 <xsl:variable name ="Pages">
  4125.                                   <xsl:if test="string-length($pages)>0">
  4126.                                     <xsl:choose>
  4127.                                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4128.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4129.                                       </xsl:when>
  4130.                                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4131.                                         <xsl:call-template name="templ_str_PageShort"/>
  4132.                                       </xsl:when>
  4133.                                       <xsl:otherwise>
  4134.                                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4135.                                       </xsl:otherwise>
  4136.                                     </xsl:choose>
  4137.                                     <xsl:call-template name="templ_prop_Space"/>
  4138.                                     <xsl:value-of select="$pages"/>
  4139.                                   </xsl:if>
  4140.                                 </xsl:variable>
  4141.  
  4142.                                 <xsl:variable name ="SpacePagesDot">
  4143.                                     <xsl:if test="string-length($pages)>0">
  4144.                                         <xsl:call-template name="templ_prop_Space"/>
  4145.                                         <xsl:call-template name="appendField_Dot">
  4146.                                             <xsl:with-param name="field" select ="$pages"/>
  4147.                                         </xsl:call-template>
  4148.                                     </xsl:if>
  4149.                                 </xsl:variable>                                
  4150.  
  4151.                                 <xsl:variable name ="SpacePPagesDot">
  4152.                                     <xsl:if test="string-length($Pages)>0">
  4153.                                         <xsl:call-template name="templ_prop_Space"/>
  4154.                                         <xsl:call-template name="appendField_Dot">
  4155.                                             <xsl:with-param name="field" select ="$Pages"/>
  4156.                                         </xsl:call-template>
  4157.                                     </xsl:if>
  4158.                                 </xsl:variable>                                
  4159.  
  4160.                                 <xsl:variable name ="ChapterNumber">
  4161.                                     <xsl:if test="string-length(b:ChapterNumber)>0">
  4162.                                         <xsl:value-of select ="b:ChapterNumber"/>
  4163.                                     </xsl:if>
  4164.                                 </xsl:variable>
  4165.                                 
  4166.                                 <xsl:variable name ="Issue">
  4167.                                     <xsl:if test="string-length(b:Issue)>0">
  4168.                                         <xsl:value-of select ="b:Issue"/>
  4169.                                     </xsl:if>
  4170.                                 </xsl:variable>
  4171.  
  4172.                                 <xsl:variable name ="Issues2">
  4173.                                     <xsl:if test="string-length(b:Issue)>0">
  4174.                                         <xsl:value-of select ="b:Issue"/>
  4175.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4176.                                         
  4177.                                     </xsl:if>
  4178.                                 </xsl:variable>
  4179.  
  4180.                                 <xsl:variable name ="ReportType">
  4181.                                     <xsl:if test="string-length(b:ThesisType)>0">
  4182.                                         <xsl:value-of select ="b:ThesisType"/>
  4183.                                     </xsl:if>
  4184.                                 </xsl:variable>
  4185.  
  4186.                                 <xsl:variable name ="URL">
  4187.                                     <xsl:if test="string-length(b:URL)>0">
  4188.                                         <xsl:call-template name="templ_prop_Space"/>
  4189.                                         <xsl:value-of select ="b:URL"/>
  4190.                                         <xsl:call-template name="templ_prop_Dot"/>
  4191.                                     </xsl:if>
  4192.                                 </xsl:variable>
  4193.  
  4194.                                 <xsl:variable name ="Type">
  4195.                                     <xsl:if test="string-length(b:Type)>0">
  4196.                                         <xsl:call-template name="templ_prop_Space"/>
  4197.                                         <xsl:call-template name="appendField_Dot">
  4198.                                             <xsl:with-param name="field" select ="b:Type"/>
  4199.                                         </xsl:call-template>
  4200.                                     </xsl:if>
  4201.                                 </xsl:variable>
  4202.  
  4203.                                 <xsl:variable name ="Comments">
  4204.                                     <xsl:if test="string-length(b:Comments)>0">
  4205.                                         <xsl:call-template name="templ_prop_Space"/>
  4206.                                         <xsl:value-of select ="b:Comments"/>
  4207.                                         <xsl:call-template name="templ_prop_Dot"/>
  4208.                                     </xsl:if>
  4209.                                 </xsl:variable>
  4210.  
  4211.                                 <xsl:variable name ="StandardNumber">
  4212.                                   <xsl:if test="string-length(b:StandardNumber)>0">
  4213.                                     <xsl:call-template name="templ_prop_Space"/>
  4214.                                     <xsl:value-of select ="b:StandardNumber"/>
  4215.                                     <xsl:call-template name="templ_prop_Dot"/>
  4216.                                   </xsl:if>
  4217.                                 </xsl:variable>
  4218.                 
  4219.                 <xsl:variable name ="InternetSiteTitle">
  4220.                                     <xsl:if test ='string-length(b:InternetSiteTitle)>0'>
  4221.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4222.                                          <xsl:with-param name = "data">
  4223.                                             <xsl:call-template name="appendField_Dot">
  4224.                                                 <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4225.                                             </xsl:call-template>
  4226.                                             <xsl:call-template name="templ_prop_Space"/>
  4227.                                             
  4228.                                          </xsl:with-param>
  4229.                                         </xsl:call-template>
  4230.                   </xsl:if>
  4231.                   <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  4232.                   <xsl:call-template name="templ_str_OnlineCap"/>
  4233.                   <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  4234.                   <xsl:call-template name="templ_prop_Space"/>
  4235.                 </xsl:variable>
  4236.  
  4237.                                 <xsl:variable name ='PublicationTitle'>
  4238.                                     <xsl:if test ='string-length(b:PublicationTitle)>0'>
  4239.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4240.                                          <xsl:with-param name = "data">
  4241.                                             <xsl:call-template name="appendField_Dot">
  4242.                                                 <xsl:with-param name="field" select="b:PublicationTitle"/>
  4243.                                             </xsl:call-template>
  4244.                                             <xsl:call-template name="templ_prop_Space"/>
  4245.                                             
  4246.                                          </xsl:with-param>
  4247.                                         </xsl:call-template>
  4248.                                     </xsl:if>
  4249.                                 </xsl:variable>
  4250.  
  4251.                                 <xsl:variable name ='BookTitle'>
  4252.                                     <xsl:if test="string-length(b:BookTitle)>0">
  4253.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4254.                                          <xsl:with-param name = "data">
  4255.                                             <xsl:call-template name="appendField_Dot">
  4256.                                                 <xsl:with-param name="field" select="b:BookTitle"/>
  4257.                                             </xsl:call-template>
  4258.                                             <xsl:call-template name="templ_prop_Space"/>
  4259.                                             
  4260.                                          </xsl:with-param>
  4261.                                         </xsl:call-template>
  4262.                                     </xsl:if>
  4263.                                     
  4264.                                 </xsl:variable>
  4265.  
  4266.                                 <xsl:variable name ='JournalName'>
  4267.                                     <xsl:if test="string-length(b:JournalName)>0">
  4268.                                         <xsl:value-of select="b:JournalName"/>
  4269.                                     </xsl:if>
  4270.                                     
  4271.                                 </xsl:variable>
  4272.  
  4273.                                 <xsl:variable name ='PeriodicalTitle'>
  4274.                                     <xsl:if test="string-length(b:PeriodicalTitle)>0">
  4275.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4276.                                          <xsl:with-param name = "data">
  4277.                                             <xsl:call-template name="appendField_Dot">
  4278.                                                 <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4279.                                             </xsl:call-template>
  4280.                                             <xsl:call-template name="templ_prop_Space"/>
  4281.                                             
  4282.                                          </xsl:with-param>
  4283.                                         </xsl:call-template>
  4284.                                     </xsl:if>
  4285.                                     
  4286.                                 </xsl:variable>
  4287.  
  4288.                                 <xsl:variable name ='Edition'>
  4289.                                     <xsl:if test="string-length(b:Edition)>0">
  4290.                                         <xsl:value-of select ="b:Edition"/>
  4291.                                         
  4292.                                     </xsl:if>
  4293.                                     
  4294.                                 </xsl:variable>
  4295.  
  4296.                                 <xsl:variable name ='EditionItem'>
  4297.                                     <xsl:if test="string-length(b:Edition)>0">
  4298.                                         <xsl:call-template name="appendField_Dot">
  4299.                                             <xsl:with-param name="field" select="b:Edition"/>
  4300.                                         </xsl:call-template>
  4301.                                         <xsl:call-template name="templ_prop_Space"/>
  4302.                                     </xsl:if>
  4303.                                 </xsl:variable>
  4304.  
  4305.                                 <xsl:variable name ='ConferenceName'>
  4306.                                     <xsl:if test="string-length(b:ConferenceName)>0">
  4307.                                             <xsl:call-template name="templ_prop_Space"/>
  4308.                                             <xsl:call-template name="appendField_Dot">
  4309.                                                 <xsl:with-param name="field" select="b:ConferenceName"/>
  4310.                                             </xsl:call-template>
  4311.                                     </xsl:if>
  4312.                                     
  4313.                                 </xsl:variable>
  4314.  
  4315.                                 <xsl:variable name ='AlbumTitle'>
  4316.                                     <xsl:if test="string-length(b:AlbumTitle)>0">
  4317.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4318.                                          <xsl:with-param name = "data">
  4319.                                             <xsl:call-template name="appendField_Dot">
  4320.                                                 <xsl:with-param name="field" select="b:AlbumTitle"/>
  4321.                                             </xsl:call-template>
  4322.                                             <xsl:call-template name="templ_prop_Space"/>
  4323.                                             
  4324.                                          </xsl:with-param>
  4325.                                         </xsl:call-template>
  4326.                                     </xsl:if>
  4327.                                     
  4328.                                 </xsl:variable>
  4329.  
  4330.                 <xsl:variable name ='BroadcastTitle'>
  4331.                   <xsl:if test="string-length(b:BroadcastTitle)>0">
  4332.                     <xsl:call-template name="appendField_Dot">
  4333.                       <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4334.                     </xsl:call-template>
  4335.                     <xsl:call-template name="templ_prop_Space"/>
  4336.                   </xsl:if>
  4337.                 </xsl:variable>
  4338.  
  4339.                 <xsl:variable name ='Medium'>
  4340.                                     <xsl:if test="string-length(b:Medium)>0">
  4341.                                         <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  4342.                                         
  4343.                                         <xsl:value-of select ="b:Medium"/>
  4344.                                         <xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  4345.                                         
  4346.  
  4347.                                     </xsl:if>
  4348.                                     
  4349.                                 </xsl:variable>
  4350.  
  4351.                 <xsl:variable name ='MediumDot'>
  4352.                   <xsl:if test="string-length(b:Medium)>0">
  4353.                     <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  4354.                     
  4355.                     
  4356.                     <xsl:value-of select ="b:Medium"/>
  4357.                     <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  4358.                     <xsl:call-template name="templ_prop_Dot"/>
  4359.                     <xsl:call-template name="templ_prop_Space"/>
  4360.                     
  4361.                     
  4362.  
  4363.                   </xsl:if>
  4364.                   
  4365.                 </xsl:variable>
  4366.  
  4367.  
  4368.                 <xsl:variable name ='Version'>
  4369.                                     <xsl:if test="string-length(b:Version)>0">
  4370.                                         <xsl:value-of select ="b:Version"/>
  4371.                                         <xsl:call-template name="templ_prop_Space"/>
  4372.                                         
  4373.                                     </xsl:if>
  4374.                                     
  4375.                                 </xsl:variable>
  4376.  
  4377.                 <xsl:variable name ="VersionAndDayMonthYear">
  4378.                   <xsl:call-template name="templateJ">
  4379.                     <xsl:with-param name="first" select="b:Version"/>
  4380.                     <xsl:with-param name="second">
  4381.                         <xsl:if test="b:SourceType='InternetSite'">
  4382.                             <xsl:value-of select ="b:ProductionCompany"/>
  4383.                         </xsl:if>
  4384.                     </xsl:with-param>
  4385.                     <xsl:with-param name="third" select="$DayMonthYear"/>
  4386.                   </xsl:call-template>
  4387.                   <xsl:if test="string-length(b:Version)>0 or string-length($DayMonthYear)>0 ">
  4388.                     <xsl:call-template name="templ_prop_Space"/>
  4389.                   </xsl:if>
  4390.                 </xsl:variable>
  4391.  
  4392.                 <xsl:variable name ="DepartmentAndInstitution">
  4393.                   <xsl:call-template name="templateC">
  4394.                     <xsl:with-param name="first" select="b:Department"/>
  4395.                     <xsl:with-param name="second" select="b:Institution"/>
  4396.                   </xsl:call-template>
  4397.                   <xsl:if test="string-length(b:Department)>0 or string-length(b:Institution)>0 or string-length(b:ProductionCompany)>0 ">
  4398.                     <xsl:call-template name="templ_prop_Space"/>                    
  4399.                   </xsl:if>
  4400.                 </xsl:variable>
  4401.                 
  4402.                 <xsl:variable name ='PatentNumber'>
  4403.                                     <xsl:if test="string-length(b:PatentNumber)>0">
  4404.                                         <xsl:call-template name = "ApplyItalicFieldNS">
  4405.                                          <xsl:with-param name = "data">
  4406.                                             <xsl:value-of select="b:PatentNumber"/>
  4407.                                             <xsl:call-template name="templ_prop_Space"/>
  4408.                                             
  4409.                                          </xsl:with-param>
  4410.                                         </xsl:call-template>
  4411.                                     </xsl:if>
  4412.                                     
  4413.                                 </xsl:variable>
  4414.  
  4415.                                 <xsl:variable name ='CaseNumber'>
  4416.                                     <xsl:if test="string-length(b:CaseNumber)">
  4417.                                             <xsl:value-of select ="b:CaseNumber"/>
  4418.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4419.                                             
  4420.                                     </xsl:if>
  4421.                                     
  4422.                                 </xsl:variable>
  4423.  
  4424.                                 <xsl:variable name ='AbbreviatedCaseNumber'>
  4425.                                     <xsl:if test="string-length(b:AbbreviatedCaseNumber)">
  4426.                                             <xsl:value-of select ="b:AbbreviatedCaseNumber"/>
  4427.                                             <xsl:call-template name="templ_prop_Dot"/>
  4428.                                             <xsl:call-template name="templ_prop_Space"/>
  4429.                                             
  4430.                                     </xsl:if>
  4431.                                     
  4432.                                 </xsl:variable>
  4433.  
  4434.                                 <xsl:variable name ='Title'>
  4435.                                     
  4436.                                     <xsl:choose>
  4437.                                         <xsl:when test="string-length(b:Chapter) > 0">
  4438.                                             <xsl:call-template name = "ApplyItalicFieldNS">
  4439.                                              <xsl:with-param name = "data">
  4440.                                                 <xsl:call-template name="appendField_Dot">
  4441.                                                     <xsl:with-param name="field" select="b:Chapter"/>
  4442.                                                 </xsl:call-template>
  4443.                                              </xsl:with-param>
  4444.                                             </xsl:call-template>
  4445.                                             
  4446.                                         </xsl:when>
  4447.                                         <xsl:otherwise>
  4448.                                             <xsl:if test="string-length(b:TitlePrefix) > 0">
  4449.                                                 <xsl:call-template name = "ApplyItalicTitleNS">
  4450.                                                  <xsl:with-param name = "data">
  4451.                                                     <xsl:value-of select="b:TitlePrefix"/>
  4452.                                                     <xsl:call-template name="templ_prop_Space"/>
  4453.                                                     
  4454.                                                  </xsl:with-param>
  4455.                                                 </xsl:call-template>
  4456.                                             </xsl:if>
  4457.                                             <xsl:if test="string-length(b:Title) >0">
  4458.                                                 <xsl:call-template name = "ApplyItalicTitleNS">
  4459.                                                  <xsl:with-param name = "data">
  4460.                                                     <xsl:call-template name="appendField_Dot">
  4461.                                                         <xsl:with-param name="field" select="b:Title"/>
  4462.                                                     </xsl:call-template>
  4463.                                                     <xsl:call-template name="templ_prop_Space"/>
  4464.                                                     
  4465.                                                     
  4466.                                                  </xsl:with-param>
  4467.                                                 </xsl:call-template>
  4468.  
  4469.  
  4470.                                             </xsl:if>
  4471.                                         </xsl:otherwise>
  4472.                                     </xsl:choose>
  4473.                                 </xsl:variable>
  4474.  
  4475.                                 <xsl:variable name ='TitleOfMonographParts'>
  4476.                                     
  4477.                                     
  4478.                                     <xsl:choose>
  4479.                                         <xsl:when test="string-length(b:Chapter) > 0">
  4480.                                             <xsl:call-template name="appendField_Dot">
  4481.                                                 <xsl:with-param name="field" select="b:Chapter"/>
  4482.                                             </xsl:call-template>
  4483.                                             
  4484.                                         </xsl:when>
  4485.                                         <xsl:otherwise>
  4486.                                             <xsl:if test="string-length(b:TitlePrefix) > 0">
  4487.                                                 <xsl:value-of select="b:TitlePrefix"/>
  4488.                                                 <xsl:call-template name="templ_prop_Space"/>
  4489.                                                 
  4490.                                             </xsl:if>
  4491.                                             <xsl:if test="string-length(b:Title) >0">
  4492.                                                 <xsl:call-template name="appendField_Dot">
  4493.                                                     <xsl:with-param name="field" select="b:Title"/>
  4494.                                                 </xsl:call-template>
  4495.                                                 <xsl:call-template name="templ_prop_Space"/>
  4496.                                                 
  4497.                                                 
  4498.                                             </xsl:if>
  4499.                                         </xsl:otherwise>
  4500.                                     </xsl:choose>
  4501.                                 </xsl:variable>
  4502.                                 
  4503.  
  4504.  
  4505.                                 
  4506.  
  4507.                                 
  4508.                     <xsl:if test="b:SourceType='ConferenceProceedings' or b:SourceType='JournalArticle'">
  4509.                        <xsl:call-template name = "ApplyItalicTitleNS">
  4510.                         <xsl:with-param name = "data">
  4511.                         <xsl:choose>
  4512.                           <xsl:when test="(/b:Bibliography/b:Source[position()=$prevBook]/b:SourceType = 'JournalArticle' or /b:Bibliography/b:Source[position()=$prevBook]/b:SourceType = 'ConferenceProceedings') and /b:Bibliography/b:Source[position()=$prevBook]/b:Title = b:Title">
  4513.                               <xsl:call-template name="templ_prop_ISO690_SameAuthor"/><xsl:call-template name="templ_prop_Dot"/>
  4514.                           </xsl:when>
  4515.                           <xsl:when test="b:SourceType = 'JournalArticle' or b:SourceType = 'ConferenceProceedings'">
  4516.                             <xsl:copy-of select ='$TitleOfMonographParts'/>
  4517.                           </xsl:when>
  4518.                         </xsl:choose>
  4519.                         </xsl:with-param>
  4520.                        </xsl:call-template>
  4521.                     </xsl:if>
  4522.                     <b>
  4523.                   <xsl:choose>
  4524.                       <xsl:when test="/b:Bibliography/b:Source[position()=$prevBook]/b:SourceType = 'JournalArticle' or /b:Bibliography/b:Source[position()=$prevBook]/b:SourceType = 'ConferenceProceedings'">
  4525.                           <xsl:copy-of select="$Main"/>
  4526.                           <xsl:call-template name="need_Dot">
  4527.                             <xsl:with-param name="field" select ="$Main"/>
  4528.                           </xsl:call-template>
  4529.                       </xsl:when>
  4530.                       <xsl:when test="b:SourceType = 'JournalArticle' or b:SourceType = 'ConferenceProceedings'">
  4531.                           <xsl:copy-of select="$Main"/>
  4532.                           <xsl:call-template name="need_Dot">
  4533.                             <xsl:with-param name="field" select ="$Main"/>
  4534.                           </xsl:call-template>
  4535.                       </xsl:when>
  4536.  
  4537.                       <xsl:when test="/b:Bibliography/b:Source[position()=$prevBook]/b:Author/b:Main = b:Author/b:Main">
  4538.                           <xsl:if test ="string-length(b:Author/b:Main)>0">
  4539.                               <xsl:call-template name="templ_prop_ISO690_SameAuthor"/><xsl:call-template name="templ_prop_Dot"/>
  4540.                               
  4541.                               
  4542.                           </xsl:if>
  4543.                       </xsl:when>
  4544.                       <xsl:otherwise>
  4545.                         <xsl:copy-of select="$Main"/>
  4546.                           <xsl:call-template name="need_Dot">
  4547.                             <xsl:with-param name="field" select ="$Main"/>
  4548.                           </xsl:call-template>
  4549.                                           
  4550.                       </xsl:otherwise>
  4551.                   </xsl:choose>
  4552.  
  4553.                   <xsl:if test ="string-length(b:Year)>0">
  4554.                     <xsl:call-template name="templ_prop_Space"/>
  4555.                     <xsl:value-of select="b:Year"/>
  4556.                     <xsl:call-template name="templ_prop_Dot"/>
  4557.                   </xsl:if>
  4558.                 </b>
  4559.  
  4560.                   <xsl:call-template name="templ_prop_Space"/>
  4561.  
  4562.                 
  4563.                                 <xsl:choose>
  4564.                                     <xsl:when test="b:SourceType='Book'">
  4565.                                         <xsl:copy-of select ='$Title'/>
  4566.                                         <xsl:value-of select="$Editors"/>
  4567.                                         <xsl:value-of select="$Translators"/>
  4568.                                         <xsl:value-of select="$EditionItem"/>
  4569.                                         <xsl:call-template name='PrintList'>
  4570.                                             <xsl:with-param name="list">
  4571.                                                 <Items>
  4572.                                                     <TextItem>
  4573.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4574.                                                     </TextItem>
  4575.                                                     <TextItem>
  4576.                                                         <xsl:value-of select ="$Year"/>
  4577.                                                     </TextItem>
  4578.                                                 </Items>
  4579.                                             </xsl:with-param>
  4580.                                         </xsl:call-template>
  4581.  
  4582.                                         <xsl:value-of select ="$SpacePPagesDot"/>
  4583.  
  4584.                                         <xsl:call-template name='PrintSpaceAndList'>
  4585.                                             <xsl:with-param name="list">
  4586.                                                 <Items>
  4587.                                                     <TextItem>
  4588.                                                         <xsl:value-of select ="$VolumeAndNumberOfVolumes"/>
  4589.                                                     </TextItem>
  4590.                                                     <TextItem>
  4591.                                                         <xsl:value-of select ="$Comments"/>
  4592.                                                     </TextItem>
  4593.                                                 </Items>
  4594.                                             </xsl:with-param>
  4595.                                         </xsl:call-template>
  4596.  
  4597.                                         <xsl:value-of select ="$StandardNumber"/>
  4598.                                       </xsl:when>
  4599.  
  4600.                                     <xsl:when test="b:SourceType='BookSection'">
  4601.                                         <xsl:copy-of select ='$TitleOfMonographParts'/>
  4602.                                         <xsl:value-of select="$BookAuthors"/>
  4603.                                         <xsl:value-of select="$Editors"/>
  4604.                                         <xsl:value-of select="$Translators"/>
  4605.                                         <xsl:copy-of select="$BookTitle"/>
  4606.                                         <xsl:value-of select="$EditionItem"/>
  4607.                                         <xsl:call-template name='PrintList'>
  4608.                                             <xsl:with-param name="list">
  4609.                                                 <Items>
  4610.                                                     <TextItem>
  4611.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4612.                                                     </TextItem>
  4613.                                                     <TextItem>
  4614.                                                         <xsl:value-of select ="$Year"/>
  4615.                                                     </TextItem>
  4616.                                                     <TextItem>
  4617.                                                         <xsl:value-of select ="$VolumeAndNumberOfVolumes"/>
  4618.                                                     </TextItem>
  4619.                                                     <TextItem>
  4620.                                                         <xsl:value-of select ="$ChapterNumber"/>
  4621.                                                     </TextItem>
  4622.                                                     <TextItem>
  4623.                                                         <xsl:value-of select ="$Pages"/>
  4624.                                                     </TextItem>
  4625.                                                 </Items>
  4626.                                             </xsl:with-param>
  4627.                                         </xsl:call-template>
  4628.                                         <xsl:value-of select ="$Comments"/>
  4629.                                     </xsl:when>
  4630.  
  4631.                                     <xsl:when test="b:SourceType='JournalArticle'">
  4632.                                         <xsl:value-of select ="$Editors"/>
  4633.                                         <xsl:value-of select ="$Issues2"/>
  4634.                                         <xsl:call-template name='PrintList'>
  4635.                                             <xsl:with-param name="list">
  4636.                                                 <Items>
  4637.                                                     <TextItem>
  4638.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4639.                                                     </TextItem>
  4640.                                                     <TextItem>
  4641.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4642.                                                     </TextItem>
  4643.                                                     <TextItem>
  4644.                                                         <xsl:value-of select ='$JournalName'/>
  4645.                                                     </TextItem>
  4646.                                                     <TextItem>
  4647.                                                         <xsl:value-of select ="$Volume"/>
  4648.                                                     </TextItem>
  4649.                                                     <TextItem>
  4650.                                                         <xsl:value-of select ="$Pages"/>
  4651.                                                     </TextItem>
  4652.                                                 </Items>
  4653.                                             </xsl:with-param>
  4654.                                         </xsl:call-template>
  4655.                                         <xsl:value-of select ="$Comments"/>
  4656.                                         <xsl:value-of select ="$StandardNumber"/>
  4657.                                     </xsl:when>
  4658.  
  4659.                                     <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  4660.                                         <xsl:copy-of select ='$TitleOfMonographParts'/>
  4661.                                         <xsl:value-of select ="$Editors"/>
  4662.                                         <xsl:copy-of select ='$PeriodicalTitle'/>
  4663.                                         <xsl:call-template name='PrintList'>
  4664.                                             <xsl:with-param name="list">
  4665.                                                 <Items>
  4666.                                                     <TextItem>
  4667.                                                         <xsl:value-of select ='$Edition'/>
  4668.                                                     </TextItem>
  4669.                                                     <TextItem>
  4670.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4671.                                                     </TextItem>
  4672.                                                     <TextItem>
  4673.                                                         <xsl:value-of select ="$Volume"/>
  4674.                                                     </TextItem>
  4675.                                                     <TextItem>
  4676.                                                         <xsl:value-of select ="$Issue"/>
  4677.                                                     </TextItem>
  4678.                                                     <TextItem>
  4679.                                                         <xsl:value-of select ="$Pages"/>
  4680.                                                     </TextItem>
  4681.                                                 </Items>
  4682.                                             </xsl:with-param>
  4683.                                         </xsl:call-template>
  4684.                                         <xsl:value-of select ="$Comments"/>
  4685.                                     </xsl:when>
  4686.  
  4687.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  4688.                                         <xsl:value-of select ="$Editors"/>
  4689.                                         <xsl:call-template name='PrintList'>
  4690.                                             <xsl:with-param name="list">
  4691.                                                 <Items>
  4692.                                                     <TextItem>
  4693.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4694.                                                     </TextItem>
  4695.                                                     <TextItem>
  4696.                                                         <xsl:value-of select ="$Year"/>
  4697.                                                     </TextItem>
  4698.                                                 </Items>
  4699.                                             </xsl:with-param>
  4700.                                         </xsl:call-template>
  4701.                                         <xsl:copy-of select ='$ConferenceName'/>
  4702.                                         <xsl:call-template name='PrintSpaceAndList'>
  4703.                                             <xsl:with-param name="list">
  4704.                                                 <Items>
  4705.                                                     <TextItem>
  4706.                                                         <xsl:value-of select ="$Volume"/>
  4707.                                                     </TextItem>
  4708.                                                     <TextItem>
  4709.                                                         <xsl:value-of select ="$Pages"/>
  4710.                                                     </TextItem>
  4711.                                                 </Items>
  4712.                                             </xsl:with-param>
  4713.                                         </xsl:call-template>
  4714.                                         <xsl:value-of select ="$Comments"/>
  4715.                                         <xsl:value-of select ="$StandardNumber"/>
  4716.                                     </xsl:when>
  4717.  
  4718.                                     <xsl:when test="b:SourceType='Report'">
  4719.                                         <xsl:copy-of select ='$Title'/>
  4720.                                         <xsl:value-of select ="$DepartmentAndInstitution"/>
  4721.                                         <xsl:call-template name='PrintList'>
  4722.                                             <xsl:with-param name="list">
  4723.                                                 <Items>
  4724.                                                     <TextItem>
  4725.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4726.                                                     </TextItem>
  4727.                                                     <TextItem>
  4728.                                                         <xsl:value-of select ="$Year"/>
  4729.                                                     </TextItem>
  4730.                                                 </Items>
  4731.                                             </xsl:with-param>
  4732.                                         </xsl:call-template>
  4733.                                         <xsl:call-template name='PrintSpaceAndList'>
  4734.                                             <xsl:with-param name="list">
  4735.                                                 <Items>
  4736.                                                     <TextItem>                                        
  4737.                                                         <xsl:value-of select ="$Pages"/>
  4738.                                                     </TextItem>
  4739.                                                     <TextItem>
  4740.                                                         <xsl:value-of select ="$ReportType"/>
  4741.                                                     </TextItem>
  4742.                                                 </Items>
  4743.                                             </xsl:with-param>
  4744.                                         </xsl:call-template>
  4745.                                         <xsl:value-of select ="$Comments"/>
  4746.                                         <xsl:value-of select ="$StandardNumber"/>
  4747.                                       </xsl:when>
  4748.  
  4749.                                     <xsl:when test="b:SourceType='SoundRecording'">
  4750.                                         <xsl:copy-of select ='$TitleOfMonographParts'/>
  4751.                                         <xsl:value-of select ="$Performers"/>
  4752.                                         <xsl:value-of select ="$Composers"/>
  4753.                                         <xsl:value-of select ="$Conductors"/>
  4754.                                         <xsl:value-of select ='$ProducerNames'/>
  4755.                                         <xsl:copy-of select ='$AlbumTitle'/>
  4756.                                         <xsl:copy-of select ='$Medium'/>
  4757.                                         <xsl:call-template name='PrintList'>
  4758.                                             <xsl:with-param name="list">
  4759.                                                 <Items>
  4760.                                                     <TextItem>
  4761.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4762.                                                     </TextItem>
  4763.                                                     <TextItem>
  4764.                                                         <xsl:value-of select ="$Year"/>
  4765.                                                     </TextItem>
  4766.                                                 </Items>
  4767.                                             </xsl:with-param>
  4768.                                         </xsl:call-template>                                                        
  4769.                                         <xsl:value-of select ="$Comments"/>
  4770.                                         <xsl:value-of select ="$StandardNumber"/>
  4771.                                       </xsl:when>
  4772.  
  4773.                                     <xsl:when test="b:SourceType='Performance'">
  4774.                                         <xsl:copy-of select ='$Title'/>
  4775.                                         <xsl:value-of select ="$Directors"/>
  4776.                                         <xsl:value-of select="$Performers"/>
  4777.                                         <xsl:value-of select ="$ProducerNames"/>
  4778.                                         <xsl:call-template name='PrintList'>
  4779.                                             <xsl:with-param name="list">
  4780.                                                 <Items>
  4781.                                                     <TextItem>
  4782.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4783.                                                     </TextItem>
  4784.                                                     <TextItem>
  4785.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4786.                                                     </TextItem>
  4787.                                                 </Items>
  4788.                                             </xsl:with-param>
  4789.                                         </xsl:call-template>                                            
  4790.                                         <xsl:value-of select ="$Comments"/>
  4791.                                     <xsl:value-of select ="$StandardNumber"/>
  4792.                                   </xsl:when>
  4793.  
  4794.                                 <xsl:when test="b:SourceType='Art'">
  4795.                                     <xsl:copy-of select ='$Title'/>
  4796.                                         <xsl:call-template name='PrintList'>
  4797.                                             <xsl:with-param name="list">
  4798.                                                 <Items>
  4799.                                                     <TextItem>
  4800.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4801.                                                     </TextItem>
  4802.                                                 </Items>
  4803.                                             </xsl:with-param>
  4804.                                         </xsl:call-template>                                        
  4805.                                     <xsl:value-of select ="$Comments"/>
  4806.                                 </xsl:when>
  4807.  
  4808.                                 <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  4809.                                     <xsl:copy-of select ='$TitleOfMonographParts'/>
  4810.                                     <xsl:copy-of select ="$InternetSiteTitle"/>
  4811.                                     <xsl:value-of select ="$VersionAndDayMonthYear"/>
  4812.                                     <xsl:value-of select ="$DayMonthYearAccessed"/>
  4813.                                     <xsl:value-of select ="$Comments"/>
  4814.                                     <xsl:value-of select ="$URL"/>
  4815.                                     <xsl:value-of select ="$StandardNumber"/>
  4816.                                   </xsl:when>
  4817.  
  4818.                                 <xsl:when test="b:SourceType='InternetSite'">
  4819.                                     <xsl:value-of select ='$Title'/>
  4820.                                     <xsl:copy-of select ="$InternetSiteTitle"/>
  4821.                                     <xsl:value-of select ="$VersionAndDayMonthYear"/>
  4822.                                     <xsl:value-of select ="$DayMonthYearAccessed"/>
  4823.                                     <xsl:value-of select ="$Comments"/>
  4824.                                     <xsl:value-of select ="$URL"/>
  4825.                                     <xsl:value-of select ="$StandardNumber"/>
  4826.                                 </xsl:when>
  4827.  
  4828.                                     <xsl:when test="b:SourceType='Film'">
  4829.                                         <xsl:copy-of select ='$Title'/>
  4830.                                         <xsl:value-of select ="$MediumDot"/>
  4831.                                         <xsl:value-of select ="$Writers"/>
  4832.                                         <xsl:value-of select ="$Performers"/>
  4833.                                         <xsl:value-of select ="$ProducerNames"/>
  4834.                                         <xsl:call-template name='PrintList'>
  4835.                                             <xsl:with-param name="list">
  4836.                                                 <Items>
  4837.                                                     <TextItem>
  4838.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4839.                                                     </TextItem>
  4840.                                                     <TextItem>
  4841.                                                         <xsl:value-of select ="$Year"/>
  4842.                                                     </TextItem>
  4843.                                                 </Items>
  4844.                                             </xsl:with-param>
  4845.                                         </xsl:call-template>                                            
  4846.                                         <xsl:value-of select ="$Comments"/>
  4847.                                         <xsl:value-of select ="$StandardNumber"/>
  4848.                                       </xsl:when>
  4849.  
  4850.                                     
  4851.                                     <xsl:when test="b:SourceType='Interview'">
  4852.                                         <xsl:choose>
  4853.                                             <xsl:when test = "string-length(b:Broadcaster) = 0 and string-length(b:BroadcastTitle) = 0">
  4854.                                                 <xsl:call-template name = "ApplyItalicTitleNS">
  4855.                                                  <xsl:with-param name = "data">
  4856.                                                     <xsl:value-of select ='$Title'/>
  4857.                                                  </xsl:with-param>
  4858.                                                 </xsl:call-template>
  4859.                                             </xsl:when>
  4860.                                             <xsl:otherwise>
  4861.                                                 <xsl:value-of select ='$Title'/>
  4862.                                             </xsl:otherwise>
  4863.                                         </xsl:choose>
  4864.                                         <xsl:value-of select ="$Interviewers"/>
  4865.                                         <xsl:value-of select ="$Editors"/>
  4866.                                         <xsl:value-of select ="$Translators"/>
  4867.                                         <xsl:value-of select ="$Compilers"/>
  4868.                                         <xsl:if test="string-length($BroadcastTitle) > 0">
  4869.                                           <xsl:call-template name = "ApplyItalicTitleNS">
  4870.                                            <xsl:with-param name = "data">
  4871.                                             <xsl:value-of select ="$BroadcastTitle"/>
  4872.                                             </xsl:with-param>
  4873.                                            </xsl:call-template>
  4874.                                         </xsl:if>
  4875.                                         <xsl:call-template name='PrintList'>
  4876.                                             <xsl:with-param name="list">
  4877.                                                 <Items>
  4878.                                                     <TextItem>
  4879.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4880.                                                     </TextItem>
  4881.                                                     <TextItem>
  4882.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4883.                                                     </TextItem>
  4884.                                                 </Items>
  4885.                                             </xsl:with-param>
  4886.                                         </xsl:call-template>                                            
  4887.                                         <xsl:call-template name='PrintSpaceAndList'>
  4888.                                             <xsl:with-param name="list">
  4889.                                                 <Items>
  4890.                                                     <TextItem>
  4891.                                                         <xsl:value-of select ="$Pages"/>
  4892.                                                     </TextItem>
  4893.                                                 </Items>
  4894.                                             </xsl:with-param>
  4895.                                         </xsl:call-template>                                                        
  4896.                                         <xsl:value-of select ="$Comments"/>
  4897.                                         <xsl:value-of select ="$StandardNumber"/>
  4898.                                     </xsl:when>
  4899.  
  4900.                                     <xsl:when test="b:SourceType='Patent'">
  4901.                                         <xsl:copy-of select ='$Title'/>
  4902.                                         <xsl:copy-of select ='$PatentNumber'/>
  4903.                                         <xsl:value-of select ="$Editors"/>
  4904.                                         <xsl:value-of select ="$Translators"/>
  4905.                                         <xsl:call-template name='PrintList'>
  4906.                                             <xsl:with-param name="list">
  4907.                                                 <Items>
  4908.                                                     <TextItem>
  4909.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4910.                                                     </TextItem>
  4911.                                                     <TextItem>
  4912.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4913.                                                     </TextItem>
  4914.                                                 </Items>
  4915.                                             </xsl:with-param>
  4916.                                         </xsl:call-template>                                            
  4917.                                         <xsl:value-of select ="$Type"/>
  4918.                                         <xsl:value-of select ="$Comments"/>
  4919.                                     </xsl:when>
  4920.  
  4921.                                     <xsl:when test="b:SourceType='ElectronicSource'">
  4922.                                         <xsl:copy-of select ='$Title'/>
  4923.                                         <xsl:copy-of select ='$Medium'/>
  4924.                                         <xsl:value-of select ="$Editors"/>
  4925.                                         <xsl:value-of select ="$ProducerNames"/>
  4926.                                         <xsl:value-of select ="$Translators"/>
  4927.                                         <xsl:call-template name='PrintList'>
  4928.                                             <xsl:with-param name="list">
  4929.                                                 <Items>
  4930.                                                     <TextItem>
  4931.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4932.                                                     </TextItem>
  4933.                                                     <TextItem>
  4934.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4935.                                                     </TextItem>
  4936.                                                 </Items>
  4937.                                             </xsl:with-param>
  4938.                                         </xsl:call-template>                
  4939.                                         <xsl:call-template name='PrintSpaceAndList'>
  4940.                                             <xsl:with-param name="list">
  4941.                                                 <Items>
  4942.                                                     <TextItem>
  4943.                                                         <xsl:value-of select ="$SepPublicationTitle"/>
  4944.                                                     </TextItem>
  4945.                                                     <TextItem>
  4946.                                                         <xsl:value-of select ="$VolumeChunk"/>
  4947.                                                     </TextItem>
  4948.                                                 </Items>
  4949.                                             </xsl:with-param>
  4950.                                         </xsl:call-template>                                            
  4951.                                         <xsl:value-of select ="$Comments"/>
  4952.                                         <xsl:value-of select ="$StandardNumber"/>
  4953.                                      </xsl:when>
  4954.  
  4955.                                     <xsl:when test="b:SourceType='Case'">
  4956.                                         <xsl:copy-of select ='$Title'/>
  4957.                                         <xsl:copy-of select ='$CaseNumber'/>
  4958.                                         <xsl:copy-of select ='$AbbreviatedCaseNumber'/>
  4959.                                         <xsl:value-of select ="$Counsels"/>
  4960.                                         <xsl:call-template name='PrintList'>
  4961.                                             <xsl:with-param name="list">
  4962.                                                 <Items>
  4963.                                                     <TextItem>
  4964.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4965.                                                     </TextItem>
  4966.                                                     <TextItem>
  4967.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4968.                                                     </TextItem>
  4969.                                                 </Items>
  4970.                                             </xsl:with-param>
  4971.                                         </xsl:call-template>                                            
  4972.                                         <xsl:value-of select ="$Reporters"/>
  4973.                                         <xsl:value-of select ="$Comments"/>
  4974.                                     </xsl:when>
  4975.  
  4976.                                     <xsl:when test="b:SourceType='Misc'">
  4977.                                         <xsl:copy-of select ='$TitleOfMonographParts'/>
  4978.                                         <xsl:value-of select ="$Edition"/>
  4979.                                         <xsl:call-template name="templ_prop_Space"/>
  4980.                                         <xsl:value-of select ="$Editors"/>
  4981.                                         <xsl:value-of select ="$Compilers"/>
  4982.                                         <xsl:value-of select ="$Translators"/>
  4983.                                         <xsl:call-template name = "ApplyItalicTitleNS">
  4984.                                          <xsl:with-param name = "data">
  4985.                                             <xsl:value-of select ='$PublicationTitle'/>
  4986.                                          </xsl:with-param>
  4987.                                         </xsl:call-template>
  4988.                                         <xsl:value-of select ="$MediumDot"/>
  4989.                                         <xsl:call-template name='PrintList'>
  4990.                                             <xsl:with-param name="list">
  4991.                                                 <Items>
  4992.                                                     <TextItem>
  4993.                                                         <xsl:value-of select ="$CityAndPublishers"/>
  4994.                                                     </TextItem>
  4995.                                                     <TextItem>
  4996.                                                         <xsl:value-of select ="$DayMonthYear"/>
  4997.                                                     </TextItem>
  4998.                                                 </Items>
  4999.                                             </xsl:with-param>
  5000.                                         </xsl:call-template>                                            
  5001.                                         <xsl:call-template name='PrintSpaceAndList'>
  5002.                                             <xsl:with-param name="list">
  5003.                                                 <Items>
  5004.                                                     <TextItem>
  5005.                                                         <xsl:value-of select ="$Volume"/>
  5006.                                                     </TextItem>
  5007.                                                     <TextItem>
  5008.                                                         <xsl:value-of select ="$Issue"/>
  5009.                                                     </TextItem>
  5010.                                                     <TextItem>
  5011.                                                         <xsl:value-of select ="$Pages"/>
  5012.                                                     </TextItem>
  5013.                                                 </Items>
  5014.                                             </xsl:with-param>
  5015.                                         </xsl:call-template>                                            
  5016.                                         <xsl:value-of select ="$Comments"/>
  5017.                                         <xsl:value-of select ="$StandardNumber"/>
  5018.                                       </xsl:when>
  5019.                                 </xsl:choose>
  5020.                                 
  5021.  
  5022.  
  5023.  
  5024.  
  5025.  
  5026.                             </xsl:element>
  5027.                         </xsl:for-each>
  5028.                     </body>
  5029.                 </html>
  5030.             </xsl:when>
  5031.         </xsl:choose>
  5032.     </xsl:template>
  5033.  
  5034.     
  5035.     
  5036.     <xsl:template name="sortedList">
  5037.         <xsl:param name="sourceRoot"/>
  5038.         
  5039.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  5040.             <xsl:sort select="b:SortingString" />                
  5041.         </xsl:apply-templates>
  5042.         
  5043.     </xsl:template>
  5044.  
  5045.     
  5046.     <xsl:template match="*">
  5047.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  5048.             
  5049.             <xsl:for-each select="@*">
  5050.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  5051.                     
  5052.                     <xsl:value-of select="." />
  5053.                 </xsl:attribute>
  5054.             </xsl:for-each>
  5055.             <xsl:apply-templates>
  5056.                 <xsl:sort select="b:SortingString" />                
  5057.             </xsl:apply-templates>
  5058.         </xsl:element>
  5059.     </xsl:template>
  5060.  
  5061.     <xsl:template match="text()">
  5062.         <xsl:value-of select="." />
  5063.     </xsl:template>
  5064.  
  5065.     <xsl:template name="maxAuthor">
  5066.         <xsl:choose>
  5067.             <xsl:when test="count(b:NameList/b:Person) > _MaxAuthor">
  5068.                 <xsl:value-of select="_MaxAuthor"/>
  5069.             </xsl:when>
  5070.             <xsl:otherwise>
  5071.                 <xsl:value-of select="count(b:NameList/b:Person)"/>
  5072.             </xsl:otherwise>
  5073.         </xsl:choose>
  5074.     </xsl:template>
  5075.  
  5076.     <xsl:template name="formatLastFirst">
  5077.         <xsl:call-template name="formatNameCore">
  5078.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_ISO690_MainAuthors_FML"/></xsl:with-param>
  5079.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_ISO690_MainAuthors_FM"/></xsl:with-param>
  5080.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_ISO690_MainAuthors_ML"/></xsl:with-param>
  5081.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_ISO690_MainAuthors_FL"/></xsl:with-param>
  5082.             <xsl:with-param name="upperLast">yes</xsl:with-param>
  5083.             <xsl:with-param name="withDot">no</xsl:with-param>
  5084.         </xsl:call-template>
  5085.     </xsl:template>
  5086.  
  5087.     <xsl:template name="formatFirstLast">
  5088.         <xsl:call-template name="formatNameCore">
  5089.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_ISO690_SecondaryAuthors_FML"/></xsl:with-param>
  5090.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_ISO690_SecondaryAuthors_FM"/></xsl:with-param>
  5091.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_ISO690_SecondaryAuthors_ML"/></xsl:with-param>
  5092.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_ISO690_SecondaryAuthors_FL"/></xsl:with-param>
  5093.         </xsl:call-template>
  5094.     </xsl:template>
  5095.  
  5096.     <xsl:template name="formatPersonSeparator">
  5097.         <xsl:variable name="cMaxAuthor">
  5098.             <xsl:value-of select="count(../b:Person)"/>
  5099.         </xsl:variable>
  5100.  
  5101.         <xsl:variable name="cMaxAllow">
  5102.             
  5103.             <xsl:choose>
  5104.                 <xsl:when test="$cMaxAuthor > ../b:_MaxAuthor and ../b:_MaxAuthor > 0">
  5105.                     <xsl:value-of select="../b:_MaxAuthor"/>
  5106.                 </xsl:when>
  5107.                 <xsl:otherwise>
  5108.                     <xsl:value-of select="$cMaxAuthor"/>
  5109.                 </xsl:otherwise>
  5110.             </xsl:choose>
  5111.         </xsl:variable>
  5112.  
  5113.         <xsl:choose>
  5114.             <xsl:when test="$cMaxAuthor > 3">
  5115.                 <xsl:call-template name="templ_prop_AuthorsSeparator"/><xsl:call-template name="templ_str_AndOthersUnCap"/>
  5116.                 
  5117.                 
  5118.             </xsl:when>
  5119.             <xsl:when test="$cMaxAllow - 1 > position()">
  5120.                 
  5121.                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  5122.                 
  5123.                 
  5124.             </xsl:when>
  5125.             <xsl:when test="position() = $cMaxAuthor - 1">
  5126.                 <xsl:variable name="noAndBeforeLastAuthor">
  5127.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  5128.                 </xsl:variable>
  5129.  
  5130.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  5131.                     <xsl:call-template name="templ_prop_Space"/>
  5132.                     <xsl:call-template name="templ_str_AndUnCap"/>
  5133.                     <xsl:call-template name="templ_prop_Space"/>
  5134.                 </xsl:if>
  5135.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  5136.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  5137.                 </xsl:if>
  5138.                 
  5139.                 
  5140.             </xsl:when>
  5141.         </xsl:choose>
  5142.     </xsl:template>
  5143.  
  5144.  
  5145.     <xsl:template name="formatPersons">
  5146.         <xsl:param name="forceMain"/>
  5147.     
  5148.         <xsl:variable name="cMaxAllow">
  5149.             <xsl:call-template name="maxAuthor"/>
  5150.         </xsl:variable>
  5151.  
  5152.         <xsl:variable name ="cIsEtAl">
  5153.             <xsl:choose>
  5154.                 <xsl:when test ="count(b:NameList/b:Person[4]) >0">
  5155.                     <xsl:value-of select="1"/>
  5156.                 </xsl:when>
  5157.                 <xsl:otherwise>
  5158.                     <xsl:value-of select = "0"/>
  5159.                 </xsl:otherwise>
  5160.             </xsl:choose>
  5161.         </xsl:variable>
  5162.         <xsl:variable name="cEtAlPosition">
  5163.             <xsl:value-of select ="1"/>
  5164.         </xsl:variable>
  5165.  
  5166.         
  5167.         <xsl:if test="string-length(b:Corporate)=0">
  5168.             <xsl:for-each select="b:NameList/b:Person">
  5169.                 <xsl:variable name="cMaxAuthor">
  5170.                     <xsl:value-of select="count(../b:NameList/b:Person)"/>
  5171.                 </xsl:variable>
  5172.  
  5173.                 <xsl:if test="($cIsEtAl = '0' and $cMaxAllow >= position()) or ($cIsEtAl = '1' and not (position()>$cEtAlPosition)) ">
  5174.                     <xsl:choose>
  5175.                         <xsl:when test="$forceMain = 'yes' or local-name(../..)='Main'">
  5176.                             <xsl:call-template name="formatLastFirst"/>
  5177.                         </xsl:when>
  5178.                         <xsl:otherwise>
  5179.                             <xsl:call-template name="formatFirstLast"/>
  5180.                         </xsl:otherwise>
  5181.                     </xsl:choose>
  5182.                     <xsl:call-template name="formatPersonSeparator"/>
  5183.                 </xsl:if>
  5184.             </xsl:for-each>
  5185.         </xsl:if>
  5186.         <xsl:if test="string-length(b:Corporate)>0">
  5187.               <xsl:value-of select="b:Corporate"/>
  5188.         </xsl:if>
  5189.     </xsl:template>
  5190.  
  5191.  
  5192.  
  5193.     <xsl:template name="formatMain">
  5194.         <xsl:if test="string-length(b:Author/b:Main/b:Corporate) > 0 or count(b:Author/b:Main/b:NameList/b:Person) > 0 ">
  5195.             <xsl:for-each select="b:Author/b:Main">
  5196.                 <xsl:call-template name="formatPersons"/>
  5197.             </xsl:for-each>
  5198.  
  5199.             <xsl:variable name="temp">
  5200.                 <xsl:for-each select="b:Author/b:Main">
  5201.                     <xsl:call-template name="formatPersons"/>
  5202.                 </xsl:for-each>
  5203.             </xsl:variable>
  5204.             
  5205.             <xsl:variable name="type">
  5206.                 <xsl:call-template name="GetMainAuthorTitle">
  5207.                     <xsl:with-param name="sourceType">
  5208.                         <xsl:value-of select="b:SourceType"/>
  5209.                     </xsl:with-param>
  5210.                     <xsl:with-param name="authorType">
  5211.                         <xsl:value-of select="b:MainAuthorType"/>
  5212.                     </xsl:with-param>
  5213.                     <xsl:with-param name="cAuthors">
  5214.                         <xsl:value-of select="count(b:Author/b:Main/b:NameList/b:Person)"/>
  5215.                     </xsl:with-param>
  5216.                     <xsl:with-param name="isOrganisation">        
  5217.                         <xsl:value-of select="string-length(b:Author/b:Main/b:Corporate) > 0"/>
  5218.                     </xsl:with-param>
  5219.                 </xsl:call-template>
  5220.             </xsl:variable>
  5221.             <xsl:if test="string-length($type) > 0">
  5222.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  5223.                 <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  5224.                 <xsl:value-of select="$type"/>
  5225.                 <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  5226.             </xsl:if>
  5227.             
  5228.         </xsl:if>
  5229.     </xsl:template>
  5230.  
  5231.     <xsl:template name="formatAuthor">
  5232.         <xsl:if test="string-length(b:Author/b:Author)>0">
  5233.             
  5234.             
  5235.             <xsl:for-each select="b:Author/b:Author">
  5236.                 <xsl:call-template name="formatPersons"/>
  5237.             </xsl:for-each>
  5238.             
  5239.             <xsl:variable name="temp">
  5240.                 <xsl:for-each select="b:Author/b:Author">
  5241.                     <xsl:call-template name="formatPersons"/>
  5242.                 </xsl:for-each>
  5243.             </xsl:variable>
  5244.             
  5245.             <xsl:call-template name="need_Dot">
  5246.                 <xsl:with-param name="field" select="$temp"/>
  5247.             </xsl:call-template>
  5248.             
  5249.             
  5250.             
  5251.             
  5252.         </xsl:if>
  5253.     </xsl:template>
  5254.  
  5255.     <xsl:template name="formatEditor">
  5256.         <xsl:if test="string-length(b:Author/b:Editor)>0">
  5257.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_EditorShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5258.             
  5259.             
  5260.             <xsl:for-each select="b:Author/b:Editor">
  5261.                 <xsl:call-template name="formatPersons"/>
  5262.             </xsl:for-each>
  5263.             
  5264.             <xsl:variable name="temp">
  5265.                 <xsl:for-each select="b:Author/b:Editor">
  5266.                     <xsl:call-template name="formatPersons"/>
  5267.                 </xsl:for-each>
  5268.             </xsl:variable>
  5269.             
  5270.             <xsl:call-template name="need_Dot">
  5271.                 <xsl:with-param name="field" select="$temp"/>
  5272.             </xsl:call-template>
  5273.             
  5274.             
  5275.             
  5276.             
  5277.         </xsl:if>
  5278.     </xsl:template>
  5279.  
  5280.     <xsl:template name="formatTranslator">
  5281.         <xsl:if test="string-length(b:Author/b:Translator)>0">
  5282.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_TranslatorShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5283.             
  5284.             
  5285.             <xsl:for-each select="b:Author/b:Translator">
  5286.                 <xsl:call-template name="formatPersons"/>
  5287.             </xsl:for-each>
  5288.             
  5289.             <xsl:variable name="temp">
  5290.                 <xsl:for-each select="b:Author/b:Translator">
  5291.                     <xsl:call-template name="formatPersons"/>
  5292.                 </xsl:for-each>
  5293.             </xsl:variable>
  5294.             
  5295.             <xsl:call-template name="need_Dot">
  5296.                 <xsl:with-param name="field" select="$temp"/>
  5297.             </xsl:call-template>
  5298.  
  5299.             
  5300.             
  5301.             
  5302.         </xsl:if>
  5303.     </xsl:template>
  5304.  
  5305.     <xsl:template name="formatArtist">
  5306.         <xsl:if test="string-length(b:Author/b:Artist)>0">
  5307.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_ArtistShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5308.             
  5309.             
  5310.             <xsl:for-each select="b:Author/b:Artist">
  5311.                 <xsl:call-template name="formatPersons"/>
  5312.             </xsl:for-each>
  5313.             
  5314.             <xsl:variable name="temp">
  5315.                 <xsl:for-each select="b:Author/b:Artist">
  5316.                     <xsl:call-template name="formatPersons"/>
  5317.                 </xsl:for-each>
  5318.             </xsl:variable>
  5319.             
  5320.             <xsl:call-template name="need_Dot">
  5321.                 <xsl:with-param name="field" select="$temp"/>
  5322.             </xsl:call-template>
  5323.             
  5324.             
  5325.             
  5326.             
  5327.         </xsl:if>
  5328.     </xsl:template>
  5329.  
  5330.     <xsl:template name="formatBookAuthor">
  5331.         <xsl:if test="string-length(b:Author/b:BookAuthor)>0">
  5332.       <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  5333.       <xsl:call-template name="templ_str_BookAuthorShortUnCap"/>
  5334.       <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  5335.       <xsl:call-template name="templ_prop_Space"/>
  5336.       
  5337.             <xsl:for-each select="b:Author/b:BookAuthor">
  5338.                 <xsl:call-template name="formatPersons"/>
  5339.             </xsl:for-each>
  5340.             
  5341.             <xsl:variable name="temp">
  5342.                 <xsl:for-each select="b:Author/b:BookAuthor">
  5343.                     <xsl:call-template name="formatPersons"/>
  5344.                 </xsl:for-each>
  5345.             </xsl:variable>
  5346.             
  5347.             <xsl:call-template name="need_Dot">
  5348.                 <xsl:with-param name="field" select="$temp"/>
  5349.             </xsl:call-template>
  5350.             
  5351.             
  5352.             
  5353.             
  5354.         </xsl:if>
  5355.     </xsl:template>
  5356.  
  5357.     <xsl:template name="formatCompiler">
  5358.         <xsl:if test="string-length(b:Author/b:Compiler)>0">
  5359.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_CompilerShortUnCapIso"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5360.             
  5361.             
  5362.             <xsl:for-each select="b:Author/b:Compiler">
  5363.                 <xsl:call-template name="formatPersons"/>
  5364.             </xsl:for-each>
  5365.             
  5366.             <xsl:variable name="temp">
  5367.                 <xsl:for-each select="b:Author/b:Compiler">
  5368.                     <xsl:call-template name="formatPersons"/>
  5369.                 </xsl:for-each>
  5370.             </xsl:variable>
  5371.             
  5372.             <xsl:call-template name="need_Dot">
  5373.                 <xsl:with-param name="field" select="$temp"/>
  5374.             </xsl:call-template>
  5375.             
  5376.             
  5377.             
  5378.             
  5379.         </xsl:if>
  5380.     </xsl:template>
  5381.  
  5382.  
  5383.     <xsl:template name="formatComposer">
  5384.         <xsl:if test="string-length(b:Author/b:Composer)>0">
  5385.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_ComposerShortUnCapIso"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5386.             
  5387.             
  5388.             <xsl:for-each select="b:Author/b:Composer">
  5389.                 <xsl:call-template name="formatPersons"/>
  5390.             </xsl:for-each>
  5391.             
  5392.             <xsl:variable name="temp">
  5393.                 <xsl:for-each select="b:Author/b:Composer">
  5394.                     <xsl:call-template name="formatPersons"/>
  5395.                 </xsl:for-each>
  5396.             </xsl:variable>
  5397.             
  5398.             <xsl:call-template name="need_Dot">
  5399.                 <xsl:with-param name="field" select="$temp"/>
  5400.             </xsl:call-template>
  5401.             
  5402.             
  5403.             
  5404.             
  5405.         </xsl:if>
  5406.     </xsl:template>
  5407.  
  5408.     <xsl:template name="formatConductor">
  5409.         <xsl:if test="string-length(b:Author/b:Conductor)>0">
  5410.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_ConductorShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5411.             
  5412.             
  5413.             <xsl:for-each select="b:Author/b:Conductor">
  5414.                 <xsl:call-template name="formatPersons"/>
  5415.             </xsl:for-each>
  5416.             
  5417.             <xsl:variable name="temp">
  5418.                 <xsl:for-each select="b:Author/b:Conductor">
  5419.                     <xsl:call-template name="formatPersons"/>
  5420.                 </xsl:for-each>
  5421.             </xsl:variable>
  5422.             
  5423.             <xsl:call-template name="need_Dot">
  5424.                 <xsl:with-param name="field" select="$temp"/>
  5425.             </xsl:call-template>
  5426.             
  5427.             
  5428.             
  5429.             
  5430.         </xsl:if>
  5431.     </xsl:template>
  5432.  
  5433.     <xsl:template name="formatCounsel">
  5434.         <xsl:if test="string-length(b:Author/b:Counsel)>0">
  5435.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_CounselShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5436.             
  5437.             
  5438.             <xsl:for-each select="b:Author/b:Counsel">
  5439.                 <xsl:call-template name="formatPersons"/>
  5440.             </xsl:for-each>
  5441.             
  5442.             <xsl:variable name="temp">
  5443.                 <xsl:for-each select="b:Author/b:Counsel">
  5444.                     <xsl:call-template name="formatPersons"/>
  5445.                 </xsl:for-each>
  5446.             </xsl:variable>
  5447.             
  5448.             <xsl:call-template name="need_Dot">
  5449.                 <xsl:with-param name="field" select="$temp"/>
  5450.             </xsl:call-template>
  5451.             
  5452.             
  5453.             
  5454.             
  5455.         </xsl:if>
  5456.     </xsl:template>
  5457.  
  5458.     <xsl:template name="formatDirector">
  5459.         <xsl:if test="string-length(b:Author/b:Director)>0">
  5460.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_DirectorShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5461.             
  5462.             
  5463.             <xsl:for-each select="b:Author/b:Director">
  5464.                 <xsl:call-template name="formatPersons"/>
  5465.             </xsl:for-each>
  5466.             
  5467.             <xsl:variable name="temp">
  5468.                 <xsl:for-each select="b:Author/b:Director">
  5469.                     <xsl:call-template name="formatPersons"/>
  5470.                 </xsl:for-each>
  5471.             </xsl:variable>
  5472.             
  5473.             <xsl:call-template name="need_Dot">
  5474.                 <xsl:with-param name="field" select="$temp"/>
  5475.             </xsl:call-template>
  5476.             
  5477.             
  5478.             
  5479.             
  5480.         </xsl:if>
  5481.     </xsl:template>
  5482.  
  5483.  
  5484.     <xsl:template name="formatInterviewee">
  5485.         <xsl:if test="string-length(b:Author/b:Interviewee)>0">
  5486.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_IntervieweeShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5487.             
  5488.             
  5489.             <xsl:for-each select="b:Author/b:Interviewee">
  5490.                 <xsl:call-template name="formatPersons"/>
  5491.             </xsl:for-each>
  5492.             
  5493.             <xsl:variable name="temp">
  5494.                 <xsl:for-each select="b:Author/b:Interviewee">
  5495.                     <xsl:call-template name="formatPersons"/>
  5496.                 </xsl:for-each>
  5497.             </xsl:variable>
  5498.             
  5499.             <xsl:call-template name="need_Dot">
  5500.                 <xsl:with-param name="field" select="$temp"/>
  5501.             </xsl:call-template>
  5502.             
  5503.             
  5504.             
  5505.             
  5506.         </xsl:if>
  5507.     </xsl:template>
  5508.  
  5509.   <xsl:template name="formatInterviewer">
  5510.     <xsl:if test="string-length(b:Author/b:Interviewee)>0">
  5511.       <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  5512.       <xsl:call-template name="templ_str_IntervieweeShortUnCap"/>
  5513.       
  5514.       <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  5515.       <xsl:call-template name="templ_prop_Space"/>
  5516.       
  5517.       
  5518.       <xsl:for-each select="b:Author/b:Interviewer">
  5519.         <xsl:call-template name="formatPersons"/>
  5520.       </xsl:for-each>
  5521.  
  5522.       <xsl:variable name="temp">
  5523.         <xsl:for-each select="b:Author/b:Interviewer">
  5524.           <xsl:call-template name="formatPersons"/>
  5525.         </xsl:for-each>
  5526.       </xsl:variable>
  5527.  
  5528.       <xsl:call-template name="need_Dot">
  5529.         <xsl:with-param name="field" select="$temp"/>
  5530.       </xsl:call-template>
  5531.  
  5532.       
  5533.       
  5534.       
  5535.     </xsl:if>
  5536.   </xsl:template>
  5537.  
  5538.  
  5539.   <xsl:template name="formatInventor">
  5540.         <xsl:if test="string-length(b:Author/b:Inventor)>0">
  5541.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_InventorShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5542.             
  5543.             
  5544.             <xsl:for-each select="b:Author/b:Inventor">
  5545.                 <xsl:call-template name="formatPersons"/>
  5546.             </xsl:for-each>
  5547.             
  5548.             <xsl:variable name="temp">
  5549.                 <xsl:for-each select="b:Author/b:Inventor">
  5550.                     <xsl:call-template name="formatPersons"/>
  5551.                 </xsl:for-each>
  5552.             </xsl:variable>
  5553.             
  5554.             <xsl:call-template name="need_Dot">
  5555.                 <xsl:with-param name="field" select="$temp"/>
  5556.             </xsl:call-template>
  5557.             
  5558.             
  5559.             
  5560.             
  5561.         </xsl:if>
  5562.     </xsl:template>
  5563.  
  5564.     <xsl:template name="formatPerformer">
  5565.         <xsl:if test="string-length(b:Author/b:Performer)>0">
  5566.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_PerformerShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5567.             
  5568.             
  5569.             <xsl:for-each select="b:Author/b:Performer">
  5570.                 <xsl:call-template name="formatPersons"/>
  5571.             </xsl:for-each>
  5572.             
  5573.             <xsl:variable name="temp">
  5574.                 <xsl:for-each select="b:Author/b:Performer">
  5575.                     <xsl:call-template name="formatPersons"/>
  5576.                 </xsl:for-each>
  5577.             </xsl:variable>
  5578.             
  5579.             <xsl:call-template name="need_Dot">
  5580.                 <xsl:with-param name="field" select="$temp"/>
  5581.             </xsl:call-template>
  5582.             
  5583.             
  5584.             
  5585.             
  5586.         </xsl:if>
  5587.     </xsl:template>
  5588.  
  5589.     <xsl:template name="formatProducerName">
  5590.         <xsl:if test="string-length(b:Author/b:ProducerName)>0">
  5591.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_ProducerShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5592.             
  5593.             
  5594.             <xsl:for-each select="b:Author/b:ProducerName">
  5595.                 <xsl:call-template name="formatPersons"/>
  5596.             </xsl:for-each>
  5597.             
  5598.             <xsl:variable name="temp">
  5599.                 <xsl:for-each select="b:Author/b:ProducerName">
  5600.                     <xsl:call-template name="formatPersons"/>
  5601.                 </xsl:for-each>
  5602.             </xsl:variable>
  5603.             
  5604.             <xsl:call-template name="need_Dot">
  5605.                 <xsl:with-param name="field" select="$temp"/>
  5606.             </xsl:call-template>
  5607.             
  5608.             
  5609.             
  5610.             
  5611.         </xsl:if>
  5612.     </xsl:template>
  5613.  
  5614.     <xsl:template name="formatWriter">
  5615.         <xsl:if test="string-length(b:Author/b:Writer)>0">
  5616.             <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/><xsl:call-template name="templ_str_WriterShortUnCap"/><xsl:call-template name="templ_prop_ISO690_GeneralClose"/><xsl:call-template name="templ_prop_Space"/>
  5617.             
  5618.             
  5619.             <xsl:for-each select="b:Author/b:Writer">
  5620.                 <xsl:call-template name="formatPersons"/>
  5621.             </xsl:for-each>
  5622.             
  5623.             <xsl:variable name="temp">
  5624.                 <xsl:for-each select="b:Author/b:Writer">
  5625.                     <xsl:call-template name="formatPersons"/>
  5626.                 </xsl:for-each>
  5627.             </xsl:variable>
  5628.             
  5629.             <xsl:call-template name="need_Dot">
  5630.                 <xsl:with-param name="field" select="$temp"/>
  5631.             </xsl:call-template>
  5632.  
  5633.             
  5634.             
  5635.             
  5636.         </xsl:if>
  5637.     </xsl:template>
  5638.  
  5639.     <xsl:template name="formatLocation">
  5640.         
  5641.  
  5642.         <xsl:variable name = "nothing">
  5643.             <xsl:choose>
  5644.                 
  5645.                 <xsl:when test = "  b:SourceType='Book' or
  5646.                                     b:SourceType='BookSection' or
  5647.                                     b:SourceType='JournalArticle' or
  5648.                                     b:SourceType='ArticleInAPeriodical' or
  5649.                                     b:SourceType='ConferenceProceedings' or
  5650.                                     b:SourceType='Report' or
  5651.                                     b:SourceType='SoundRecording' or
  5652.                                     b:SourceType='Performance' or
  5653.                                     b:SourceType='Art' or
  5654.                                     b:SourceType='Interview' or
  5655.                                     b:SourceType='ElectronicSource' or
  5656.                                     b:SourceType='Case' or
  5657.                                     b:SourceType='Report' or
  5658.                                     b:SourceType='Misc'">
  5659.                     <xsl:choose>
  5660.                         <xsl:when test ="string-length(b:City)>0 or (string-length(b:Theater)>0 and b:SourceType='Performance')">
  5661.                         </xsl:when>
  5662.                         <xsl:otherwise>
  5663.                             <xsl:choose>
  5664.                                 <xsl:when test ="(string-length(b:Publisher)>0)and b:SourceType='Report'">
  5665.                                 </xsl:when>
  5666.                                 <xsl:when test ="string-length(b:Institution)>0 and b:SourceType='Art'">
  5667.                                 </xsl:when>
  5668.                                 <xsl:when test ="string-length(b:ProductionCompany)>0 and b:SourceType='SoundRecording'">
  5669.                                 </xsl:when>
  5670.                                 <xsl:when test ="string-length(b:ProductionCompany)>0 and b:SourceType='Performance'">
  5671.                                 </xsl:when>
  5672.                                 <xsl:when test ="(string-length(b:ProductionCompany)>0 or string-length(b:Publisher)>0) and b:SourceType='ElectronicSource'">
  5673.                                 </xsl:when>
  5674.                                 <xsl:when test ="string-length(b:Court)>0 and b:SourceType='Case'">
  5675.                                 </xsl:when>
  5676.                                 <xsl:when test ="(string-length(b:Publisher)>0 or (string-length(b:Broadcaster)>0 and b:SourceType='Interview')) and
  5677.                                                 (    b:SourceType='Book' or
  5678.                                                     b:SourceType='BookSection' or
  5679.                                                     b:SourceType='JournalArticle' or
  5680.                                                     b:SourceType='ArticleInAPeriodical' or
  5681.                                                     b:SourceType='ConferenceProceedings' or
  5682.                                                     b:SourceType='Interview' or
  5683.                                                     b:SourceType='Report' or
  5684.                                                     b:SourceType='Misc' or
  5685.                                                     b:SourceType='Art'
  5686.                                                     )">
  5687.                                 </xsl:when>
  5688.                                 <xsl:otherwise>
  5689.                                     <xsl:text>1</xsl:text>
  5690.                                 </xsl:otherwise>
  5691.                             </xsl:choose>
  5692.                         </xsl:otherwise>
  5693.                     </xsl:choose>
  5694.  
  5695.                 </xsl:when>
  5696.             </xsl:choose>
  5697.         </xsl:variable>
  5698.  
  5699.         <xsl:if test = "$nothing != '1'">
  5700.             <xsl:choose>
  5701.                 
  5702.                 <xsl:when test = "  b:SourceType='Book' or
  5703.                                     b:SourceType='BookSection' or
  5704.                                     b:SourceType='JournalArticle' or
  5705.                                     b:SourceType='ArticleInAPeriodical' or
  5706.                                     b:SourceType='ConferenceProceedings' or
  5707.                                     b:SourceType='Report' or
  5708.                                     b:SourceType='SoundRecording' or
  5709.                                     b:SourceType='Performance' or
  5710.                                     b:SourceType='Art' or
  5711.                                     b:SourceType='Interview' or
  5712.                                     b:SourceType='ElectronicSource' or
  5713.                                     b:SourceType='Case' or
  5714.                                     b:SourceType='Report' or
  5715.                                     b:SourceType='Misc'">
  5716.  
  5717.           <xsl:if test="b:SourceType='Art'">
  5718.             <xsl:value-of select="b:Institution"/>
  5719.           </xsl:if>
  5720.  
  5721.           
  5722.                     <xsl:choose>
  5723.                         <xsl:when test ="string-length(b:City)>0 or (string-length(b:Theater)>0 and b:SourceType='Performance')">
  5724.                             <xsl:if test="b:SourceType='Performance'">
  5725.                 <xsl:value-of select ='b:Theater'/>
  5726.                                 <xsl:if test ='string-length(b:Theater)>0 and string-length(b:City)>0'>
  5727.                                     <xsl:call-template name="templ_prop_ListSeparator"/>
  5728.                                     <xsl:call-template name="templ_prop_Space"/>
  5729.                                     
  5730.                                     
  5731.                                 </xsl:if>
  5732.                             </xsl:if>
  5733.               <xsl:if test="b:SourceType='ElectronicSource'">
  5734.                 <xsl:value-of select ='b:Edition'/>
  5735.                 <xsl:if test ='string-length(b:Edition)>0 and string-length(b:City)>0'>
  5736.                   <xsl:call-template name="templ_prop_ListSeparator"/>
  5737.                   <xsl:call-template name="templ_prop_Space"/>
  5738.                   
  5739.                   
  5740.                 </xsl:if>
  5741.               </xsl:if>
  5742.               <xsl:if test="b:SourceType='Interview'">
  5743.                 <xsl:value-of select ='b:Station'/>
  5744.                 <xsl:if test ='string-length(b:Station)>0 and string-length(b:City)>0'>
  5745.                   <xsl:call-template name="templ_prop_ListSeparator"/>
  5746.                   <xsl:call-template name="templ_prop_Space"/>
  5747.                   
  5748.                   
  5749.                 </xsl:if>
  5750.               </xsl:if>
  5751.               <xsl:if test="b:SourceType='Art' and string-length(b:Institution)>0 and string-length(b:City)>0">
  5752.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  5753.               </xsl:if>
  5754.               <xsl:value-of select="b:City"/>
  5755.                         </xsl:when>
  5756.                         <xsl:otherwise>
  5757.               <xsl:if test="b:SourceType='Art' and string-length(b:Institution)>0">
  5758.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  5759.               </xsl:if>
  5760.               <xsl:call-template name="templ_str_SineLocoShort"/>
  5761.                             
  5762.                             
  5763.                         </xsl:otherwise>
  5764.                     </xsl:choose>
  5765.  
  5766.           <xsl:if test ="b:SourceType='Performance' or b:SourceType='Art' or b:SourceType='Patent' or b:SourceType='ElectronicSource' or b:SourceType='Case' or b:SourceType='Misc'">
  5767.             <xsl:variable name="tempFirst">
  5768.               <xsl:call-template name="handleSpaces">
  5769.                 <xsl:with-param name="field" select="b:StateProvince"/>
  5770.               </xsl:call-template>
  5771.             </xsl:variable>
  5772.  
  5773.             <xsl:variable name="tempSecond">
  5774.               <xsl:call-template name="handleSpaces">
  5775.                 <xsl:with-param name="field" select="b:CountryRegion"/>
  5776.               </xsl:call-template>
  5777.             </xsl:variable>
  5778.  
  5779.             <xsl:if test="string-length($tempFirst)>0 or string-length($tempSecond)>0">
  5780.               <xsl:call-template name="templ_prop_ListSeparator"/>
  5781.             </xsl:if>
  5782.  
  5783.             <xsl:if test="string-length($tempFirst)>0">
  5784.               <xsl:value-of select="$tempFirst"/>
  5785.             </xsl:if>
  5786.  
  5787.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  5788.               <xsl:call-template name="templ_prop_ListSeparator"/>
  5789.             </xsl:if>
  5790.  
  5791.             <xsl:if test="string-length($tempSecond)>0">
  5792.               <xsl:value-of select="$tempSecond"/>
  5793.             </xsl:if>
  5794.           </xsl:if>
  5795.  
  5796.                     
  5797.           <xsl:variable name ="after">
  5798.                       <xsl:choose>
  5799.                           <xsl:when test ="(string-length(b:Publisher)>0)and b:SourceType='Report'">
  5800.                               <xsl:value-of select="b:Publisher"/>
  5801.                           </xsl:when>
  5802.                           <xsl:when test ="string-length(b:ProductionCompany)>0 and b:SourceType='SoundRecording'">
  5803.                               <xsl:value-of select="b:ProductionCompany"/>
  5804.                           </xsl:when>
  5805.                           <xsl:when test ="string-length(b:ProductionCompany)>0 and b:SourceType='Performance'">
  5806.                               <xsl:value-of select="b:ProductionCompany"/>
  5807.                           </xsl:when>
  5808.                           <xsl:when test ="(string-length(b:ProductionCompany)>0 or string-length(b:Publisher)>0) and b:SourceType='ElectronicSource'">
  5809.                               <xsl:value-of select="b:Publisher"/>
  5810.                               <xsl:if test ="string-length(b:Publisher)>0 and string-length(b:ProductionCompany)>0">
  5811.                                   <xsl:call-template name="templ_prop_ListSeparator"/>
  5812.                                   
  5813.                                   
  5814.                               </xsl:if>
  5815.                               <xsl:value-of select="b:ProductionCompany"/>
  5816.                           </xsl:when>
  5817.                           <xsl:when test ="string-length(b:Court)>0 and b:SourceType='Case'">
  5818.                               <xsl:value-of select="b:Court"/>
  5819.                           </xsl:when>
  5820.               <xsl:when test ="b:SourceType='Art' and (string-length(b:Publisher)>0 or string-length(b:Year)>0)">
  5821.  
  5822.                 <xsl:if test ="string-length(b:Publisher)>0">
  5823.                   <xsl:value-of select="b:Publisher"/>
  5824.                 </xsl:if>
  5825.  
  5826.                 <xsl:if test ="string-length(b:Publisher)>0 and string-length(b:Year)>0">
  5827.                   <xsl:call-template name="templ_prop_ListSeparator"/>
  5828.                 </xsl:if>
  5829.  
  5830.                 <xsl:if test ="string-length(b:Year)>0">
  5831.                   <xsl:value-of select="b:Year"/>
  5832.                 </xsl:if>
  5833.               
  5834.               </xsl:when>
  5835.               <xsl:when test ="(string-length(b:Publisher)>0 or (string-length(b:Broadcaster)>0 and b:SourceType='Interview')) and
  5836.                                           (    b:SourceType='Book' or
  5837.                                               b:SourceType='BookSection' or
  5838.                                               b:SourceType='JournalArticle' or
  5839.                                               b:SourceType='ArticleInAPeriodical' or
  5840.                                               b:SourceType='ConferenceProceedings' or
  5841.                                               b:SourceType='Interview' or
  5842.                                               b:SourceType='Report' or
  5843.                                               b:SourceType='Misc'
  5844.                                               )">
  5845.                 <xsl:if test ="string-length(b:Broadcaster)>0 and b:SourceType='Interview'">
  5846.                   <xsl:value-of select="b:Broadcaster"/>
  5847.                 </xsl:if>
  5848.                 <xsl:value-of select="b:Publisher"/>
  5849.                           </xsl:when>
  5850.               <xsl:when test ="string-length(b:Broadcaster)=0 and b:SourceType='Interview'">
  5851.               </xsl:when>
  5852.                           <xsl:otherwise>
  5853.                               <xsl:call-template name="templ_str_SineNomineShort"/>
  5854.                               
  5855.                               
  5856.                           </xsl:otherwise>
  5857.                       </xsl:choose>
  5858.           </xsl:variable>
  5859.           
  5860.           <xsl:if test="string-length(normalize-space($after))>0">
  5861.                       
  5862.                       <xsl:call-template name="templ_prop_NonBreakingSpace"/><xsl:call-template name="templ_prop_EnumSeparator"/><xsl:value-of select="$after"/>
  5863.                       
  5864.                       
  5865.           </xsl:if>
  5866.           
  5867.                 </xsl:when>
  5868.  
  5869.                 <xsl:when test ="b:SourceType='Film'">
  5870.                     <xsl:value-of select ="b:ProductionCompany"/>
  5871.                     <xsl:if test ="string-length(b:ProductionCompany)>0 and string-length(b:Distributor)>0">
  5872.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  5873.                         
  5874.                         
  5875.                     </xsl:if>
  5876.                     <xsl:value-of select ="b:Distributor"/>
  5877.                     <xsl:if test ="string-length(b:ProductionCompany)>0 or string-length(b:Distributor)>0">
  5878.                     </xsl:if>
  5879.                 </xsl:when>
  5880.  
  5881.                 <xsl:when test ="b:SourceType='Patent'">
  5882.                     <xsl:if test ="string-length(b:CountryRegion)>0">
  5883.                         <xsl:value-of select ="b:CountryRegion"/>
  5884.                     </xsl:if>
  5885.                 </xsl:when>
  5886.  
  5887.                 
  5888.             </xsl:choose>
  5889.         </xsl:if>
  5890.     </xsl:template>
  5891.  
  5892.     <xsl:template name="formatDayMonthYear">
  5893.         <xsl:if test ='string-length(b:Day) >0 or string-length(b:Month) >0 or string-length(b:Year) >0'>
  5894.       <xsl:call-template name="formatDateCore">
  5895.                 <xsl:with-param name="day">
  5896.                     <xsl:call-template name="handleSpaces">
  5897.                         <xsl:with-param name="field" select="b:Day"/>
  5898.                     </xsl:call-template>
  5899.                 </xsl:with-param>
  5900.                 <xsl:with-param name="month">
  5901.                     <xsl:call-template name="handleSpaces">
  5902.                         <xsl:with-param name="field" select="b:Month"/>
  5903.                     </xsl:call-template>
  5904.                 </xsl:with-param>
  5905.                 <xsl:with-param name="year">
  5906.                     <xsl:call-template name="handleSpaces">
  5907.                         <xsl:with-param name="field" select="b:Year"/>
  5908.                     </xsl:call-template>
  5909.                 </xsl:with-param>
  5910.                 
  5911.                 <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_ISO690_Date_DMY"/></xsl:with-param>
  5912.                 <xsl:with-param name="DM"><xsl:call-template name="templ_prop_ISO690_Date_DM"/></xsl:with-param>
  5913.                 <xsl:with-param name="MY"><xsl:call-template name="templ_prop_ISO690_Date_MY"/></xsl:with-param>
  5914.                 <xsl:with-param name="DY"><xsl:call-template name="templ_prop_ISO690_Date_DY"/></xsl:with-param>
  5915.             </xsl:call-template>
  5916.         </xsl:if>
  5917.     </xsl:template>
  5918.  
  5919.   <xsl:template name ="formatDayMonthYearAccessed">
  5920.     <xsl:if test ='string-length(b:DayAccessed) >0 or string-length(b:DayAccessed) >0 or string-length(b:DayAccessed) >0'>
  5921.       <xsl:call-template name="templ_prop_ISO690_GeneralOpen"/>
  5922.       <xsl:variable name="date">
  5923.         <xsl:call-template name="formatDateCore">
  5924.           <xsl:with-param name="day">
  5925.             <xsl:call-template name="handleSpaces">
  5926.               <xsl:with-param name="field" select="b:DayAccessed"/>
  5927.             </xsl:call-template>
  5928.           </xsl:with-param>
  5929.           <xsl:with-param name="month">
  5930.             <xsl:call-template name="handleSpaces">
  5931.               <xsl:with-param name="field" select="b:MonthAccessed"/>
  5932.             </xsl:call-template>
  5933.           </xsl:with-param>
  5934.           <xsl:with-param name="year">
  5935.             <xsl:call-template name="handleSpaces">
  5936.               <xsl:with-param name="field" select="b:YearAccessed"/>
  5937.             </xsl:call-template>
  5938.           </xsl:with-param>
  5939.  
  5940.           <xsl:with-param name="DMY">
  5941.             <xsl:call-template name="templ_prop_ISO690_DateAccessed_DMY"/>
  5942.           </xsl:with-param>
  5943.           <xsl:with-param name="DM">
  5944.             <xsl:call-template name="templ_prop_ISO690_DateAccessed_DM"/>
  5945.           </xsl:with-param>
  5946.           <xsl:with-param name="MY">
  5947.             <xsl:call-template name="templ_prop_ISO690_DateAccessed_MY"/>
  5948.           </xsl:with-param>
  5949.           <xsl:with-param name="DY">
  5950.             <xsl:call-template name="templ_prop_ISO690_DateAccessed_DY"/>
  5951.           </xsl:with-param>
  5952.         </xsl:call-template>
  5953.       </xsl:variable>
  5954.       <xsl:variable name="cited">
  5955.         <xsl:call-template name="templ_str_CitedCap"/>
  5956.       </xsl:variable>
  5957.       <xsl:call-template name="StringFormatDot">
  5958.         <xsl:with-param name="format" select="$cited"/>
  5959.         <xsl:with-param name="parameters">
  5960.           <t:params>
  5961.             <t:param>
  5962.               <xsl:value-of select="$date"/>
  5963.             </t:param>
  5964.           </t:params>
  5965.         </xsl:with-param>
  5966.       </xsl:call-template>
  5967.       <xsl:call-template name="templ_prop_ISO690_GeneralClose"/>
  5968.     </xsl:if>
  5969.   </xsl:template>
  5970.     
  5971.     <xsl:template name="populateMain">
  5972.         <xsl:param name="Type"/>
  5973.         
  5974.         <xsl:element name="{$Type}">
  5975.             
  5976.             <xsl:for-each select="/*[$Type]/b:Source">
  5977.                 
  5978.                 <xsl:variable name="MostImportantAuthorLocalName">
  5979.                     
  5980.                     <xsl:call-template name="MainContributors"/>
  5981.                 </xsl:variable>
  5982.                 <xsl:element name="{'b:Source'}">
  5983.                     <b:MainAuthorType>
  5984.                         <xsl:value-of select="$MostImportantAuthorLocalName"/>
  5985.                     </b:MainAuthorType>
  5986.                     
  5987.             <b:SortingString>
  5988.                 <xsl:if test = "(b:SourceType = 'JournalArticle' or b:SourceType = 'ConferenceProceedings') and string-length(b:Title) > 0">
  5989.                     <xsl:text> </xsl:text><xsl:value-of select="b:Title"/>
  5990.                 </xsl:if>
  5991.  
  5992.                   <xsl:variable name = "author0">
  5993.                   <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  5994.                     <xsl:call-template name="formatPersons">
  5995.                         <xsl:with-param name = "forceMain" select = "'yes'" />
  5996.                     </xsl:call-template>
  5997.                   </xsl:for-each>
  5998.                 </xsl:variable>
  5999.  
  6000.                   <xsl:variable name = "author">
  6001.                     <xsl:choose>
  6002.                         <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  6003.                             <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  6004.                         </xsl:when>
  6005.                         <xsl:when test="string-length($author0) > 0">
  6006.                             <xsl:value-of select="$author0"/>
  6007.                         </xsl:when>
  6008.                     </xsl:choose>
  6009.                 </xsl:variable>
  6010.  
  6011.                 <xsl:if test="string-length($author) > 0">
  6012.                     <xsl:text> </xsl:text>
  6013.                     <xsl:value-of select="$author"/>
  6014.                 </xsl:if>
  6015.             
  6016.                 <xsl:if test="string-length(b:Title) > 0 and not (b:SourceType = 'JournalArticle' or b:SourceType = 'ConferenceProceedings')">
  6017.                     <xsl:text> </xsl:text>
  6018.                     <xsl:value-of select="b:Title"/>
  6019.                 </xsl:if>
  6020.             </b:SortingString>
  6021.           <xsl:if test="$Type='b:Citation'">
  6022.             
  6023.             <b:Title>
  6024.               
  6025.               <xsl:if test="string-length(b:Title)>0">
  6026.                 <xsl:value-of select="b:Title"/>
  6027.               </xsl:if>
  6028.             </b:Title>
  6029.           </xsl:if>
  6030.           <b:Author>
  6031.                         
  6032.                         <b:Main>
  6033.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  6034.                                 <b:NameList>
  6035.                                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  6036.                                         <b:Person>
  6037.                                             
  6038.                                             <b:Last>
  6039.                                                 <xsl:value-of select="./b:Last"/>
  6040.                                             </b:Last>
  6041.                                             <b:First>
  6042.                                                 <xsl:value-of select="./b:First"/>
  6043.                                             </b:First>
  6044.                                             <b:Middle>
  6045.                                                 <xsl:value-of select="./b:Middle"/>
  6046.                                             </b:Middle>
  6047.                                         </b:Person>
  6048.                                     </xsl:for-each>
  6049.                                 </b:NameList>
  6050.                             </xsl:if>
  6051.                             <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  6052.                                 <b:Corporate>
  6053.                                   <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  6054.                                 </b:Corporate>
  6055.                             </xsl:if>
  6056.                         </b:Main>
  6057.                         <xsl:for-each select="./b:Author/*">
  6058.                             
  6059.                             <xsl:if test="name()!='b:Main' and not(../../b:SourceType = 'Interview' and (string-length(../../b:Broadcaster) > 0 or string-length(../../b:BroadcastTitle) > 0) and (name() = 'b:Editor' or name() = 'b:Translator' or name() = 'b:Compiler'))">
  6060.                                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  6061.                                     <xsl:call-template name="copyNameNodes"/>
  6062.                                     
  6063.                                 </xsl:element>
  6064.                             </xsl:if>
  6065.                         </xsl:for-each>
  6066.                     </b:Author>
  6067.                     <xsl:for-each select="*">
  6068.                         
  6069.             <xsl:if test="name()!='b:Author' and not(name()='b:Title' and $Type='b:Citation') and not(../b:SourceType = 'Interview' and string-length(../b:Broadcaster) = 0 and string-length(../b:BroadcastTitle) = 0 and (name() = 'b:Station'))  and not(../b:SourceType = 'Interview' and (string-length(../b:Broadcaster) > 0 or string-length(../b:BroadcastTitle) > 0) and (name() = 'b:Publisher'))">
  6070.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  6071.                                 <xsl:call-template name="copyNodes"/>
  6072.                                 
  6073.                             </xsl:element>
  6074.                         </xsl:if>
  6075.                     </xsl:for-each>
  6076.                 </xsl:element>
  6077.             </xsl:for-each>
  6078.             <xsl:for-each select="/*[$Type]/*">
  6079.                 
  6080.                 <xsl:if test="local-name()!='Source'">
  6081.                     <xsl:call-template name="copyTrees"/>
  6082.                 </xsl:if>
  6083.             </xsl:for-each>
  6084.         </xsl:element>
  6085.  
  6086.     </xsl:template>
  6087.  
  6088.     
  6089.     <xsl:template name="copyNameNodes">
  6090.         <xsl:if test="string-length(b:Corporate)=0">
  6091.             <b:NameList>
  6092.                 <xsl:for-each select="b:NameList/b:Person">
  6093.                     
  6094.                     <b:Person>
  6095.                         
  6096.                         <xsl:if test="string-length(./b:Last)>0">
  6097.                             
  6098.                             <b:Last>
  6099.                                 <xsl:value-of select="./b:Last"/>
  6100.                             </b:Last>
  6101.                         </xsl:if>
  6102.                         <xsl:if test="string-length(./b:First)>0">
  6103.                             <b:First>
  6104.                                 <xsl:value-of select="./b:First"/>
  6105.                             </b:First>
  6106.                         </xsl:if>
  6107.                         <xsl:if test="string-length(./b:Middle)>0">
  6108.                             <b:Middle>
  6109.                                 <xsl:value-of select="./b:Middle"/>
  6110.                             </b:Middle>
  6111.                         </xsl:if>
  6112.                     </b:Person>
  6113.                 </xsl:for-each>
  6114.             </b:NameList>
  6115.         </xsl:if>
  6116.         <xsl:if test="string-length(b:Corporate)>0">
  6117.             <b:Corporate>
  6118.               <xsl:value-of select="b:Corporate"/>
  6119.             </b:Corporate>
  6120.         </xsl:if>
  6121.     </xsl:template>
  6122.  
  6123.     
  6124.     <xsl:template name="copyNodes">
  6125.         <xsl:value-of select="."/>
  6126.     </xsl:template>
  6127.  
  6128.     
  6129.     <xsl:template name="copyTrees">
  6130.         <xsl:copy-of select ='.'/>
  6131.     </xsl:template>
  6132.  
  6133.     
  6134.     
  6135.     
  6136.     
  6137.     <xsl:template name="MainContributors">
  6138.         <xsl:param name="SourceRoot"/>
  6139.         <xsl:choose>
  6140.             <xsl:when test="./b:SourceType='Book'">
  6141.                 <xsl:choose>
  6142.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6143.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6144.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6145.                 </xsl:choose>
  6146.             </xsl:when>
  6147.  
  6148.             <xsl:when test="./b:SourceType='BookSection'">
  6149.                 <xsl:choose>
  6150.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6151.                 </xsl:choose>
  6152.             </xsl:when>
  6153.  
  6154.             <xsl:when test="./b:SourceType='JournalArticle'">
  6155.                 <xsl:choose>
  6156.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6157.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6158.                 </xsl:choose>
  6159.             </xsl:when>
  6160.  
  6161.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  6162.                 <xsl:choose>
  6163.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6164.                 </xsl:choose>
  6165.             </xsl:when>
  6166.  
  6167.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  6168.                 <xsl:choose>
  6169.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6170.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6171.                 </xsl:choose>
  6172.             </xsl:when>
  6173.  
  6174.             <xsl:when test="./b:SourceType='Report'">
  6175.                 <xsl:choose>
  6176.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6177.                 </xsl:choose>
  6178.             </xsl:when>
  6179.  
  6180.             <xsl:when test="./b:SourceType='SoundRecording'">
  6181.                 <xsl:choose>
  6182.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6183.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6184.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  6185.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  6186.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  6187.                 </xsl:choose>
  6188.             </xsl:when>
  6189.  
  6190.             <xsl:when test="./b:SourceType='Performance'">
  6191.                 <xsl:choose>
  6192.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6193.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6194.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6195.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  6196.                 </xsl:choose>
  6197.             </xsl:when>
  6198.  
  6199.             <xsl:when test="./b:SourceType='Art'">
  6200.                 <xsl:choose>
  6201.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  6202.                 </xsl:choose>
  6203.             </xsl:when>
  6204.  
  6205.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  6206.                 <xsl:choose>
  6207.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6208.                 </xsl:choose>
  6209.             </xsl:when>
  6210.  
  6211.             <xsl:when test="./b:SourceType='InternetSite'">
  6212.                 <xsl:choose>
  6213.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6214.                 </xsl:choose>
  6215.             </xsl:when>
  6216.  
  6217.             <xsl:when test="./b:SourceType='Film'">
  6218.                 <xsl:choose>
  6219.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  6220.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  6221.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  6222.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  6223.                 </xsl:choose>
  6224.             </xsl:when>
  6225.  
  6226.             <xsl:when test="./b:SourceType='Interview'">
  6227.                 <xsl:choose>
  6228.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  6229.                 </xsl:choose>
  6230.             </xsl:when>
  6231.  
  6232.             <xsl:when test="./b:SourceType='Patent'">
  6233.                 <xsl:choose>
  6234.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  6235.                 </xsl:choose>
  6236.             </xsl:when>
  6237.  
  6238.             <xsl:when test="./b:SourceType='ElectronicSource'">
  6239.                 <xsl:choose>
  6240.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6241.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6242.                     <xsl:when test="string-length(./b:Author/b:ProducerName)>0">ProducerName</xsl:when>
  6243.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6244.                 </xsl:choose>
  6245.             </xsl:when>
  6246.  
  6247.             <xsl:when test="./b:SourceType='Case'">
  6248.                 <xsl:choose>
  6249.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6250.                     <xsl:when test="string-length(./b:Author/b:Counsel)>0">Counsel</xsl:when>
  6251.                 </xsl:choose>
  6252.             </xsl:when>
  6253.  
  6254.             <xsl:when test="./b:SourceType='Misc'">
  6255.                 <xsl:choose>
  6256.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  6257.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  6258.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  6259.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  6260.                 </xsl:choose>
  6261.             </xsl:when>
  6262.         </xsl:choose>
  6263.     </xsl:template>
  6264.     <xsl:template name="handleSpaces">
  6265.         <xsl:param name="field"/>
  6266.  
  6267.     <xsl:variable name="prop_NormalizeSpace">
  6268.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  6269.     </xsl:variable>
  6270.  
  6271.     <xsl:choose>
  6272.             <xsl:when test="$prop_NormalizeSpace='yes'">
  6273.                 <xsl:value-of select="normalize-space($field)"/>
  6274.             </xsl:when>
  6275.             <xsl:otherwise>
  6276.                 <xsl:value-of select="$field"/>
  6277.             </xsl:otherwise>
  6278.         </xsl:choose>
  6279.     </xsl:template>
  6280.  
  6281.     <xsl:template name="handleHyphens">
  6282.         <xsl:param name="name"/>
  6283.  
  6284.     <xsl:variable name="prop_APA_Hyphens">
  6285.       <xsl:call-template name="templ_prop_Hyphens"/>
  6286.     </xsl:variable>
  6287.  
  6288.     <xsl:if test="string-length($name)>=2">
  6289.             <xsl:choose>
  6290.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  6291.                     <xsl:value-of select="substring($name, 1, 2)"/>
  6292.                     <xsl:call-template name="templ_prop_DotInitial"/>
  6293.                     
  6294.                     <xsl:call-template name="handleHyphens">
  6295.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  6296.                     </xsl:call-template>
  6297.                 </xsl:when>
  6298.                 
  6299.                 <xsl:otherwise>
  6300.                     <xsl:call-template name="handleHyphens">
  6301.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  6302.                     </xsl:call-template>
  6303.                 </xsl:otherwise>
  6304.             </xsl:choose>
  6305.             
  6306.         </xsl:if>
  6307.  
  6308.     </xsl:template>
  6309.  
  6310.     <xsl:template name="formatNameInitial">
  6311.         <xsl:param name="name"/>
  6312.         <xsl:variable name="temp">
  6313.             <xsl:call-template name="handleSpaces">
  6314.                 <xsl:with-param name="field" select="$name"/>
  6315.             </xsl:call-template>
  6316.         </xsl:variable>
  6317.     <xsl:variable name="prop_APA_Hyphens">
  6318.       <xsl:call-template name="templ_prop_Hyphens"/>
  6319.     </xsl:variable>
  6320.  
  6321.     <xsl:if test="string-length($temp)>0">
  6322.  
  6323.             <xsl:variable name="tempWithoutSpaces">
  6324.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  6325.             </xsl:variable>
  6326.  
  6327.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  6328.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  6329.                 <xsl:call-template name="templ_prop_DotInitial"/>
  6330.             </xsl:if>
  6331.  
  6332.             <xsl:call-template name="handleHyphens">
  6333.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  6334.             </xsl:call-template>
  6335.         </xsl:if>
  6336.     </xsl:template>
  6337.  
  6338.  
  6339.  
  6340.     <xsl:template name="formatNameOneItem">
  6341.         <xsl:param name="format"/>
  6342.  
  6343.         <xsl:choose>
  6344.             <xsl:when test="$format = 'F'">
  6345.                 <xsl:value-of select="b:First"/>
  6346.             </xsl:when>
  6347.             <xsl:when test="$format = 'L'">
  6348.                 <xsl:value-of select="b:Last"/>
  6349.             </xsl:when>
  6350.             <xsl:when test="$format = 'M'">
  6351.                 <xsl:value-of select="b:Middle"/>
  6352.             </xsl:when>
  6353.             <xsl:when test="$format = 'f'">
  6354.                 <xsl:call-template name="formatNameInitial">
  6355.                     <xsl:with-param name="name" select="b:First"/>
  6356.                 </xsl:call-template>
  6357.             </xsl:when>
  6358.             <xsl:when test="$format = 'm'">
  6359.                 <xsl:call-template name="formatNameInitial">
  6360.                     <xsl:with-param name="name" select="b:Middle"/>
  6361.                 </xsl:call-template>
  6362.             </xsl:when>
  6363.             <xsl:when test="$format = 'l'">
  6364.                 <xsl:call-template name="formatNameInitial">
  6365.                     <xsl:with-param name="name" select="b:Last"/>
  6366.                 </xsl:call-template>
  6367.             </xsl:when>
  6368.         </xsl:choose>
  6369.  
  6370.     </xsl:template>
  6371.  
  6372.  
  6373.  
  6374.     <xsl:template name="need_Dot">
  6375.         <xsl:param name="field"/>
  6376.         
  6377.         <xsl:variable name="temp">
  6378.             <xsl:call-template name="handleSpaces">
  6379.                 <xsl:with-param name="field" select="$field"/>
  6380.             </xsl:call-template>
  6381.         </xsl:variable>
  6382.  
  6383.         <xsl:variable name="lastChar">
  6384.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  6385.         </xsl:variable>
  6386.     <xsl:variable name="prop_EndChars">
  6387.       <xsl:call-template name="templ_prop_EndChars"/>
  6388.     </xsl:variable>
  6389.  
  6390.  
  6391.     <xsl:choose>
  6392.             <xsl:when test="string-length($temp) = 0">
  6393.             </xsl:when>
  6394.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  6395.             </xsl:when>
  6396.             <xsl:otherwise>
  6397.                 <xsl:call-template name="templ_prop_Dot"/>
  6398.             </xsl:otherwise>
  6399.         </xsl:choose>
  6400.     </xsl:template>
  6401.  
  6402.     
  6403.     <xsl:template name="appendField_Dot">
  6404.         <xsl:param name="field"/>
  6405.         
  6406.         <xsl:variable name="temp">
  6407.             <xsl:call-template name="handleSpaces">
  6408.                 <xsl:with-param name="field" select="$field"/>
  6409.             </xsl:call-template>
  6410.         </xsl:variable>
  6411.  
  6412.         <xsl:variable name="lastChar">
  6413.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  6414.         </xsl:variable>
  6415.     <xsl:variable name="prop_EndChars">
  6416.       <xsl:call-template name="templ_prop_EndChars"/>
  6417.     </xsl:variable>
  6418.  
  6419.  
  6420.     <xsl:choose>
  6421.             <xsl:when test="string-length($temp) = 0">
  6422.             </xsl:when>
  6423.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  6424.                 <xsl:value-of select="$temp"/>
  6425.             </xsl:when>
  6426.             <xsl:otherwise>
  6427.                 <xsl:value-of select="$temp"/>
  6428.                 <xsl:call-template name="templ_prop_Dot"/>
  6429.             </xsl:otherwise>
  6430.         </xsl:choose>
  6431.         
  6432.     </xsl:template>
  6433.  
  6434.  
  6435.  
  6436.     <xsl:template name="formatNameCore">
  6437.         <xsl:param name="FML"/>
  6438.         <xsl:param name="FM"/>
  6439.         <xsl:param name="ML"/>
  6440.         <xsl:param name="FL"/>
  6441.         <xsl:param name="upperLast"/>
  6442.         <xsl:param name="withDot"/>
  6443.  
  6444.         <xsl:variable name="first">
  6445.             <xsl:call-template name="handleSpaces">
  6446.                 <xsl:with-param name="field" select="b:First"/>
  6447.             </xsl:call-template>
  6448.         </xsl:variable>
  6449.  
  6450.         <xsl:variable name="middle">
  6451.             <xsl:call-template name="handleSpaces">
  6452.                 <xsl:with-param name="field" select="b:Middle"/>
  6453.             </xsl:call-template>
  6454.         </xsl:variable>
  6455.  
  6456.         <xsl:variable name="last">
  6457.             <xsl:call-template name="handleSpaces">
  6458.                 <xsl:with-param name="field" select="b:Last"/>
  6459.             </xsl:call-template>
  6460.         </xsl:variable>
  6461.         
  6462.         <xsl:variable name="format">
  6463.             <xsl:choose>
  6464.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6465.                 </xsl:when>
  6466.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6467.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  6468.                 </xsl:when>
  6469.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6470.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  6471.                 </xsl:when>
  6472.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6473.                     <xsl:value-of select="$ML"/>
  6474.                 </xsl:when>
  6475.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  6476.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  6477.                 </xsl:when>
  6478.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  6479.                     <xsl:value-of select="$FL"/>
  6480.                 </xsl:when>
  6481.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  6482.                     <xsl:value-of select="$FM"/>
  6483.                 </xsl:when>
  6484.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  6485.                     <xsl:value-of select="$FML"/>
  6486.                 </xsl:when>
  6487.             </xsl:choose>
  6488.         </xsl:variable>
  6489.         
  6490.         <xsl:call-template name="StringFormatName">
  6491.             <xsl:with-param name="format" select="$format"/>
  6492.             <xsl:with-param name="upperLast" select="$upperLast"/>
  6493.             <xsl:with-param name="withDot" select="$withDot"/>
  6494.         </xsl:call-template>
  6495.         
  6496.     </xsl:template>
  6497.  
  6498.     <xsl:template name="formatDateCorePrivate">
  6499.         <xsl:param name="DMY"/>
  6500.         <xsl:param name="DM"/>
  6501.         <xsl:param name="MY"/>
  6502.         <xsl:param name="DY"/>
  6503.  
  6504.         <xsl:param name="day"/>
  6505.         <xsl:param name="month"/>
  6506.         <xsl:param name="year"/>
  6507.         
  6508.         <xsl:param name="withDot"/>
  6509.         
  6510.         <xsl:variable name="format">
  6511.             <xsl:choose>
  6512.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6513.                 </xsl:when>
  6514.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6515.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6516.                 </xsl:when>
  6517.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6518.                 </xsl:when>
  6519.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6520.                     <xsl:value-of select="$MY"/>
  6521.                 </xsl:when>
  6522.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  6523.                 </xsl:when>
  6524.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  6525.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  6526.                 </xsl:when>
  6527.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  6528.                 </xsl:when>
  6529.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  6530.                     <xsl:value-of select="$DMY"/>
  6531.                 </xsl:when>
  6532.             </xsl:choose>
  6533.         </xsl:variable>
  6534.         
  6535.         <xsl:call-template name="StringFormatDate">
  6536.             <xsl:with-param name="format" select="$format"/>
  6537.  
  6538.             <xsl:with-param name="day" select="$day"/>
  6539.             <xsl:with-param name="month" select="$month"/>
  6540.             <xsl:with-param name="year" select="$year"/>
  6541.  
  6542.             <xsl:with-param name="withDot" select="$withDot"/>
  6543.         </xsl:call-template>
  6544.         
  6545.     </xsl:template>
  6546.  
  6547.     <xsl:template name="StringFormatName">
  6548.         <xsl:param name="format" />
  6549.         <xsl:param name="withDot" />
  6550.         <xsl:param name="upperLast"/>
  6551.  
  6552.     <xsl:variable name="prop_EndChars">
  6553.       <xsl:call-template name="templ_prop_EndChars"/>
  6554.     </xsl:variable>
  6555.  
  6556.     <xsl:choose>
  6557.             <xsl:when test="$format = ''"></xsl:when>
  6558.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6559.                 <xsl:text>%</xsl:text>
  6560.                 <xsl:call-template name="StringFormatName">
  6561.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6562.                     <xsl:with-param name="withDot" select="$withDot" />
  6563.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6564.                 </xsl:call-template>
  6565.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6566.                     <xsl:call-template name="templ_prop_Dot"/>
  6567.                 </xsl:if>
  6568.             </xsl:when>
  6569.             <xsl:when test="substring($format, 1, 1) = '%'">
  6570.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6571.                 
  6572.                 <xsl:choose>
  6573.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  6574.                         <span style='text-transform: uppercase;'>
  6575.                             <xsl:call-template name="formatNameOneItem">
  6576.                                 <xsl:with-param name="format" select="$what"/>
  6577.                             </xsl:call-template>
  6578.                         </span>
  6579.                     </xsl:when>
  6580.                     <xsl:otherwise>
  6581.                         <xsl:call-template name="formatNameOneItem">
  6582.                             <xsl:with-param name="format" select="$what"/>
  6583.                         </xsl:call-template>
  6584.                     </xsl:otherwise>
  6585.                 </xsl:choose>
  6586.                 <xsl:call-template name="StringFormatName">
  6587.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6588.                     <xsl:with-param name="withDot" select="$withDot" />
  6589.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6590.                 </xsl:call-template>
  6591.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6592.                     <xsl:variable name="temp2">
  6593.                         <xsl:call-template name="handleSpaces">
  6594.                             <xsl:with-param name="field">
  6595.                                 <xsl:call-template name="formatNameOneItem">
  6596.                                     <xsl:with-param name="format" select="$what"/>
  6597.                                 </xsl:call-template>
  6598.                             </xsl:with-param>
  6599.                         </xsl:call-template>
  6600.                     </xsl:variable>                
  6601.                     <xsl:variable name="lastChar">
  6602.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6603.                     </xsl:variable>
  6604.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6605.                         <xsl:call-template name="templ_prop_Dot"/>
  6606.                     </xsl:if>
  6607.                 </xsl:if>
  6608.             </xsl:when>
  6609.             <xsl:otherwise>
  6610.                 <xsl:value-of select="substring($format, 1, 1)" />
  6611.                 <xsl:call-template name="StringFormatName">
  6612.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6613.                     <xsl:with-param name="withDot" select="$withDot" />
  6614.                     <xsl:with-param name="upperLast" select="$upperLast" />
  6615.                 </xsl:call-template>
  6616.                 <xsl:if test="string-length($format)=1">
  6617.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6618.                         <xsl:call-template name="templ_prop_Dot"/>
  6619.                     </xsl:if>
  6620.                 </xsl:if>
  6621.             </xsl:otherwise>
  6622.         </xsl:choose>
  6623.     </xsl:template>    
  6624.  
  6625.     <xsl:template name="StringFormatDate">
  6626.         <xsl:param name="format" />
  6627.         
  6628.         <xsl:param name="day"/>
  6629.         <xsl:param name="month"/>
  6630.         <xsl:param name="year"/>        
  6631.         
  6632.         <xsl:param name="withDot" />
  6633.  
  6634.     <xsl:variable name="prop_EndChars">
  6635.       <xsl:call-template name="templ_prop_EndChars"/>
  6636.     </xsl:variable>
  6637.  
  6638.  
  6639.     <xsl:choose>
  6640.             <xsl:when test="$format = ''"></xsl:when>
  6641.             <xsl:when test="substring($format, 1, 2) = '%%'">
  6642.                 <xsl:text>%</xsl:text>
  6643.                 <xsl:call-template name="StringFormatDate">
  6644.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6645.                     <xsl:with-param name="day" select="$day"/>
  6646.                     <xsl:with-param name="month" select="$month"/>
  6647.                     <xsl:with-param name="year" select="$year"/>
  6648.                     <xsl:with-param name="withDot" select="$withDot" />
  6649.                 </xsl:call-template>
  6650.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  6651.                     <xsl:call-template name="templ_prop_Dot"/>
  6652.                 </xsl:if>
  6653.             </xsl:when>
  6654.             <xsl:when test="substring($format, 1, 1) = '%'">
  6655.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  6656.                 <xsl:choose>
  6657.                     <xsl:when test="$what = 'D'">
  6658.                         <xsl:value-of select="$day"/>
  6659.                     </xsl:when>
  6660.                     <xsl:when test="$what = 'M'">
  6661.                         <xsl:value-of select="$month"/>
  6662.                     </xsl:when>
  6663.                     <xsl:when test="$what = 'Y'">
  6664.                         <xsl:value-of select="$year"/>
  6665.                     </xsl:when>
  6666.                 </xsl:choose>
  6667.                 <xsl:call-template name="StringFormatDate">
  6668.                     <xsl:with-param name="format" select="substring($format, 3)" />
  6669.                     <xsl:with-param name="day" select="$day"/>
  6670.                     <xsl:with-param name="month" select="$month"/>
  6671.                     <xsl:with-param name="year" select="$year"/>
  6672.                     <xsl:with-param name="withDot" select="$withDot" />
  6673.                 </xsl:call-template>
  6674.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  6675.                     <xsl:variable name="temp2">
  6676.                         <xsl:call-template name="handleSpaces">
  6677.                             <xsl:with-param name="field">
  6678.                                 <xsl:call-template name="formatNameOneItem">
  6679.                                     <xsl:with-param name="format" select="$what"/>
  6680.                                 </xsl:call-template>
  6681.                             </xsl:with-param>
  6682.                         </xsl:call-template>
  6683.                     </xsl:variable>                
  6684.                     <xsl:variable name="lastChar">
  6685.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  6686.                     </xsl:variable>
  6687.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  6688.                         <xsl:call-template name="templ_prop_Dot"/>
  6689.                     </xsl:if>
  6690.                 </xsl:if>
  6691.             </xsl:when>
  6692.             <xsl:otherwise>
  6693.                 <xsl:value-of select="substring($format, 1, 1)" />
  6694.                 <xsl:call-template name="StringFormatDate">
  6695.                     <xsl:with-param name="format" select="substring($format, 2)" />
  6696.                     <xsl:with-param name="day" select="$day"/>
  6697.                     <xsl:with-param name="month" select="$month"/>
  6698.                     <xsl:with-param name="year" select="$year"/>
  6699.                     <xsl:with-param name="withDot" select="$withDot" />
  6700.                 </xsl:call-template>
  6701.                 <xsl:if test="string-length($format)=1">
  6702.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  6703.                         <xsl:call-template name="templ_prop_Dot"/>
  6704.                     </xsl:if>
  6705.                 </xsl:if>
  6706.             </xsl:otherwise>
  6707.         </xsl:choose>
  6708.     </xsl:template>    
  6709.  
  6710.     <xsl:template name="formatDateCore">
  6711.         <xsl:param name="day"/>
  6712.         <xsl:param name="month"/>
  6713.         <xsl:param name="year"/>
  6714.         <xsl:param name="displayND"/>
  6715.         
  6716.         <xsl:param name="DMY"/>
  6717.         <xsl:param name="DM"/>
  6718.         <xsl:param name="MY"/>
  6719.         <xsl:param name="DY"/>
  6720.     
  6721.         <xsl:choose>
  6722.             <xsl:when test="string-length($year)=0">
  6723.                 <xsl:if test="$displayND = 'yes'">
  6724.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  6725.                 </xsl:if>
  6726.             </xsl:when>
  6727.             <xsl:otherwise>
  6728.                 <xsl:call-template name="formatDateCorePrivate">
  6729.                     <xsl:with-param name="day" select="$day"/>
  6730.                     <xsl:with-param name="month" select="$month"/>
  6731.                     <xsl:with-param name="year" select="$year"/>
  6732.                     
  6733.                     <xsl:with-param name="DMY" select="$DMY"/>
  6734.                     <xsl:with-param name="DM" select="$DM"/>
  6735.                     <xsl:with-param name="MY" select="$MY"/>
  6736.                     <xsl:with-param name="DY" select="$DY"/>
  6737.                 </xsl:call-template>
  6738.             </xsl:otherwise>
  6739.         </xsl:choose>
  6740.     
  6741.     </xsl:template>
  6742.  
  6743.   <xsl:template name="templateJ">
  6744.     <xsl:param name="first"/>
  6745.     <xsl:param name="second"/>
  6746.     <xsl:param name="third"/>
  6747.  
  6748.     <xsl:variable name="tempFirst">
  6749.       <xsl:call-template name="handleSpaces">
  6750.         <xsl:with-param name="field" select="$first"/>
  6751.       </xsl:call-template>
  6752.     </xsl:variable>
  6753.  
  6754.     <xsl:variable name="tempSecond">
  6755.       <xsl:call-template name="handleSpaces">
  6756.         <xsl:with-param name="field" select="$second"/>
  6757.       </xsl:call-template>
  6758.     </xsl:variable>
  6759.  
  6760.     <xsl:variable name="tempThird">
  6761.       <xsl:call-template name="handleSpaces">
  6762.         <xsl:with-param name="field" select="$third"/>
  6763.       </xsl:call-template>
  6764.     </xsl:variable>
  6765.  
  6766.     <xsl:variable name="temp">
  6767.       <xsl:if test="string-length($tempFirst)>0">
  6768.         <xsl:value-of select="$tempFirst"/>
  6769.       </xsl:if>
  6770.  
  6771.       <xsl:if test="string-length($tempFirst)>0 and (string-length($tempSecond)>0 or string-length($tempThird)>0)">
  6772.         <xsl:call-template name="templ_prop_ListSeparator"/>
  6773.       </xsl:if>
  6774.  
  6775.       <xsl:if test="string-length($tempSecond)>0">
  6776.         <xsl:value-of select="$tempSecond"/>
  6777.       </xsl:if>
  6778.  
  6779.       <xsl:if test="string-length($tempSecond)>0 and string-length($tempThird)>0">
  6780.         <xsl:call-template name="templ_prop_ListSeparator"/>
  6781.       </xsl:if>
  6782.  
  6783.       <xsl:if test="string-length($tempThird)>0">
  6784.         <xsl:value-of select="$tempThird"/>
  6785.       </xsl:if>
  6786.     </xsl:variable>
  6787.  
  6788.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  6789.       <xsl:with-param name="field" select="$temp"/>
  6790.     </xsl:call-template>
  6791.   </xsl:template>
  6792.  
  6793.  
  6794.   <xsl:template name="templateC">
  6795.     <xsl:param name="first"/>
  6796.     <xsl:param name="second"/>
  6797.  
  6798.     <xsl:variable name="tempFirst">
  6799.       <xsl:call-template name="handleSpaces">
  6800.         <xsl:with-param name="field" select="$first"/>
  6801.       </xsl:call-template>
  6802.     </xsl:variable>
  6803.  
  6804.     <xsl:variable name="tempSecond">
  6805.       <xsl:call-template name="handleSpaces">
  6806.         <xsl:with-param name="field" select="$second"/>
  6807.       </xsl:call-template>
  6808.     </xsl:variable>
  6809.  
  6810.     <xsl:variable name="temp">
  6811.       <xsl:if test="string-length($tempFirst)>0">
  6812.         <xsl:value-of select="$tempFirst"/>
  6813.       </xsl:if>
  6814.  
  6815.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  6816.         <xsl:call-template name="templ_prop_ListSeparator"/>
  6817.       </xsl:if>
  6818.  
  6819.       <xsl:if test="string-length($tempSecond)>0">
  6820.         <xsl:value-of select="$tempSecond"/>
  6821.       </xsl:if>
  6822.  
  6823.     </xsl:variable>
  6824.  
  6825.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  6826.       <xsl:with-param name="field" select="$temp"/>
  6827.     </xsl:call-template>
  6828.   </xsl:template>
  6829.  
  6830.   <xsl:template name="appendFieldNoHandleSpaces_Dot">
  6831.     <xsl:param name="field"/>
  6832.  
  6833.     <xsl:variable name="lastChar">
  6834.       <xsl:value-of select="substring($field, string-length($field))"/>
  6835.     </xsl:variable>
  6836.     <xsl:variable name="prop_EndChars">
  6837.       <xsl:call-template name="templ_prop_EndChars"/>
  6838.     </xsl:variable>
  6839.  
  6840.  
  6841.     <xsl:choose>
  6842.       <xsl:when test="string-length($field) = 0">
  6843.       </xsl:when>
  6844.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  6845.         <xsl:value-of select="$field"/>
  6846.       </xsl:when>
  6847.       <xsl:otherwise>
  6848.         <xsl:value-of select="$field"/>
  6849.         <xsl:call-template name="templ_prop_Dot"/>
  6850.       </xsl:otherwise>
  6851.     </xsl:choose>
  6852.  
  6853.   </xsl:template>
  6854.  
  6855.     <xsl:template name="GetMainAuthorTitle">
  6856.         <xsl:param name="sourceType"/>
  6857.         <xsl:param name="authorType"/>
  6858.         <xsl:param name="cAuthors" />
  6859.         <xsl:param name="isOrganisation" />
  6860.         
  6861.         <xsl:choose>
  6862.             <xsl:when test="$authorType='Author'">
  6863.  
  6864.             </xsl:when>
  6865.             
  6866.             <xsl:when test="$authorType='Editor'">
  6867.                 <xsl:choose>
  6868.                     <xsl:when test="$isOrganisation=true()">
  6869.                         <xsl:call-template name="templ_str_EditorShortUnCap"/>
  6870.                     </xsl:when>
  6871.                     <xsl:when test="$cAuthors=0">
  6872.                     </xsl:when>
  6873.                     <xsl:when test="$cAuthors=1">
  6874.                         <xsl:call-template name="templ_str_EditorShortUnCap"/>
  6875.                     </xsl:when>
  6876.                     <xsl:otherwise>
  6877.                         <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  6878.                     </xsl:otherwise>
  6879.                 </xsl:choose>
  6880.             </xsl:when>
  6881.             
  6882.             <xsl:when test="$authorType='Translator'">
  6883.                 <xsl:choose>
  6884.                     <xsl:when test="$isOrganisation=true()">
  6885.                         <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  6886.                     </xsl:when>
  6887.                     <xsl:when test="$cAuthors=0">
  6888.                     </xsl:when>
  6889.                     <xsl:when test="$cAuthors=1">
  6890.                         <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  6891.                     </xsl:when>
  6892.                     <xsl:otherwise>
  6893.                         <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  6894.                     </xsl:otherwise>
  6895.                 </xsl:choose>
  6896.             </xsl:when>
  6897.             
  6898.             <xsl:when test="$authorType='Artist'">
  6899.             
  6900.             </xsl:when>
  6901.             
  6902.             <xsl:when test="$authorType='Performer'">
  6903.                 <xsl:choose>
  6904.                     <xsl:when test="$isOrganisation=true()">
  6905.                         <xsl:call-template name="templ_str_PerformerShortUnCap"/>
  6906.                     </xsl:when>
  6907.                     <xsl:when test="$cAuthors=0">
  6908.                     </xsl:when>
  6909.                     <xsl:when test="$cAuthors=1">
  6910.                         <xsl:call-template name="templ_str_PerformerShortUnCap"/>
  6911.                     </xsl:when>
  6912.                     <xsl:otherwise>
  6913.                         <xsl:call-template name="templ_str_PerformersShortUnCap"/>
  6914.                     </xsl:otherwise>
  6915.                 </xsl:choose>
  6916.             </xsl:when>
  6917.             
  6918.             <xsl:when test="$authorType='Composer'">
  6919.                 <xsl:choose>
  6920.                     <xsl:when test="$isOrganisation=true()">
  6921.                         <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  6922.                     </xsl:when>
  6923.                     <xsl:when test="$cAuthors=0">
  6924.                     </xsl:when>
  6925.                     <xsl:when test="$cAuthors=1">
  6926.                         <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  6927.                     </xsl:when>
  6928.                     <xsl:otherwise>
  6929.                         <xsl:call-template name="templ_str_ComposerShortUnCapIso"/>
  6930.                     </xsl:otherwise>
  6931.                 </xsl:choose>
  6932.             </xsl:when>
  6933.             
  6934.             <xsl:when test="$authorType='Conductor'">
  6935.                 <xsl:choose>
  6936.                     <xsl:when test="$isOrganisation=true()">
  6937.                         <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  6938.                     </xsl:when>
  6939.                     <xsl:when test="$cAuthors=0">
  6940.                     </xsl:when>
  6941.                     <xsl:when test="$cAuthors=1">
  6942.                         <xsl:call-template name="templ_str_ConductorShortUnCap"/>
  6943.                     </xsl:when>
  6944.                     <xsl:otherwise>
  6945.                         <xsl:call-template name="templ_str_ConductorsShortUnCap"/>
  6946.                     </xsl:otherwise>
  6947.                 </xsl:choose>
  6948.             </xsl:when>
  6949.             
  6950.             <xsl:when test="$authorType='ProducerName'">
  6951.                 <xsl:choose>
  6952.                     <xsl:when test="$isOrganisation=true()">
  6953.                         <xsl:call-template name="templ_str_ProducerShortUnCap"/>
  6954.                     </xsl:when>
  6955.                     <xsl:when test="$cAuthors=0">
  6956.                     </xsl:when>
  6957.                     <xsl:when test="$cAuthors=1">
  6958.                         <xsl:call-template name="templ_str_ProducerShortUnCap"/>
  6959.                     </xsl:when>
  6960.                     <xsl:otherwise>
  6961.                         <xsl:call-template name="templ_str_ProducerShortUnCap"/> 
  6962.                     </xsl:otherwise>
  6963.                 </xsl:choose>
  6964.             </xsl:when>
  6965.             
  6966.             <xsl:when test="$authorType='Writer'">
  6967.                 <xsl:choose>
  6968.                     <xsl:when test = "not($sourceType = 'Film')">
  6969.                     </xsl:when>
  6970.                     <xsl:when test="$isOrganisation=true()">
  6971.                         <xsl:call-template name="templ_str_WriterShortUnCap"/>
  6972.                     </xsl:when>
  6973.                     <xsl:when test="$cAuthors=0">
  6974.                     </xsl:when>
  6975.                     <xsl:when test="$cAuthors=1">
  6976.                         <xsl:call-template name="templ_str_WriterShortUnCap"/>
  6977.                     </xsl:when>
  6978.                     <xsl:otherwise>
  6979.                         <xsl:call-template name="templ_str_WriterShortUnCap"/>
  6980.                     </xsl:otherwise>
  6981.                 </xsl:choose>
  6982.             </xsl:when>
  6983.             
  6984.             <xsl:when test="$authorType='Director'">
  6985.                 
  6986.             </xsl:when>
  6987.             
  6988.             <xsl:when test="$authorType='Interviewee'">
  6989.                 
  6990.             </xsl:when>
  6991.             
  6992.             <xsl:when test="$authorType='Inventor'">
  6993.             
  6994.             </xsl:when>
  6995.             
  6996.             <xsl:when test="$authorType='Counsel'">
  6997.                 <xsl:choose>
  6998.                     <xsl:when test="$isOrganisation=true()">
  6999.                         <xsl:call-template name="templ_str_CounselShortUnCap"/>
  7000.                     </xsl:when>
  7001.                     <xsl:when test="$cAuthors=0">
  7002.                     </xsl:when>
  7003.                     <xsl:when test="$cAuthors=1">
  7004.                         <xsl:call-template name="templ_str_CounselShortUnCap"/>
  7005.                     </xsl:when>
  7006.                     <xsl:otherwise>
  7007.                         <xsl:call-template name="templ_str_CounselShortUnCap"/> 
  7008.                     </xsl:otherwise>
  7009.                 </xsl:choose>
  7010.             </xsl:when>
  7011.             
  7012.             <xsl:when test="$authorType='Compiler'">
  7013.                 <xsl:choose>
  7014.                     <xsl:when test="$isOrganisation=true()">
  7015.                         <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  7016.                     </xsl:when>
  7017.                     <xsl:when test="$cAuthors=0">
  7018.                     </xsl:when>
  7019.                     <xsl:when test="$cAuthors=1">
  7020.                         <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  7021.                     </xsl:when>
  7022.                     <xsl:otherwise>
  7023.                         <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  7024.                     </xsl:otherwise>
  7025.                 </xsl:choose>
  7026.             </xsl:when>    
  7027.         </xsl:choose>
  7028.     </xsl:template>
  7029.  
  7030.     <xsl:template name="PrintSpaceAndList">
  7031.         <xsl:param name="list"/>
  7032.  
  7033.         <xsl:variable name="result">
  7034.             <xsl:call-template name="PrintList">
  7035.                 <xsl:with-param name="list" select="$list" />
  7036.             </xsl:call-template>
  7037.         </xsl:variable>
  7038.  
  7039.         <xsl:if test="string-length($result) > 0">
  7040.             <xsl:call-template name="templ_prop_Space" />
  7041.             <xsl:copy-of select="$result" />
  7042.         </xsl:if>
  7043.     </xsl:template>
  7044.  
  7045.     <xsl:template name="PrintList">
  7046.         <xsl:param name="list"/>
  7047.  
  7048.         <xsl:call-template name="PrintList2">
  7049.             <xsl:with-param name="list" select="$list" />
  7050.             <xsl:with-param name="index" select="'1'" />
  7051.             <xsl:with-param name="nextSeparator">
  7052.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7053.             </xsl:with-param>
  7054.             <xsl:with-param name="textDisplayed" select="''" />
  7055.         </xsl:call-template>
  7056.     </xsl:template>
  7057.  
  7058.     <xsl:template name="PrintList2">
  7059.         <xsl:param name="list"/>
  7060.         <xsl:param name="index"/>
  7061.         <xsl:param name="nextSeparator"/>
  7062.         <xsl:param name="lastTextDisplayed"/>
  7063.  
  7064.         
  7065.  
  7066.         <xsl:choose>
  7067.             <xsl:when test="$index > count(msxsl:node-set($list)/*/*)">
  7068.                 <xsl:call-template name="need_Dot">
  7069.                     <xsl:with-param name="field" select ="$lastTextDisplayed"/>
  7070.                 </xsl:call-template>
  7071.             </xsl:when>
  7072.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'TextItem'">
  7073.                 <xsl:variable name="item">
  7074.                     <xsl:value-of select="msxsl:node-set($list)/*/*[$index]" />
  7075.                 </xsl:variable>
  7076.  
  7077.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  7078.                     <xsl:value-of select = "$nextSeparator" />
  7079.                 </xsl:if>
  7080.  
  7081.                 <xsl:if test="string-length($item) > 0">
  7082.                     <xsl:value-of select = "$item" />
  7083.                 </xsl:if>
  7084.  
  7085.                 <xsl:call-template name="PrintList2">
  7086.                     <xsl:with-param name="list" select="$list" />
  7087.                     <xsl:with-param name="index" select="$index + 1" />
  7088.                     <xsl:with-param name="nextSeparator">
  7089.                         <xsl:choose>
  7090.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  7091.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7092.                             </xsl:when>
  7093.                             <xsl:otherwise>
  7094.                                 <xsl:value-of select="$nextSeparator" />
  7095.                             </xsl:otherwise>
  7096.                         </xsl:choose>
  7097.                     </xsl:with-param>
  7098.                     <xsl:with-param name="lastTextDisplayed">
  7099.                         <xsl:choose>
  7100.                             <xsl:when test="string-length($item) > 0">
  7101.                                 <xsl:value-of select="$item" />
  7102.                             </xsl:when>
  7103.                             <xsl:otherwise>
  7104.                                 <xsl:value-of select="$lastTextDisplayed" />
  7105.                             </xsl:otherwise>
  7106.                         </xsl:choose>
  7107.                     </xsl:with-param>
  7108.                 </xsl:call-template>                    
  7109.             </xsl:when>
  7110.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'GroupSeparator'">
  7111.                 <xsl:call-template name="PrintList2">
  7112.                     <xsl:with-param name="list" select="$list" />
  7113.                     <xsl:with-param name="index" select="$index + 1" />
  7114.                     <xsl:with-param name="nextSeparator">
  7115.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  7116.                     </xsl:with-param>
  7117.                     <xsl:with-param name="lastTextDisplayed" select="$lastTextDisplayed" />
  7118.                 </xsl:call-template>            
  7119.             </xsl:when>
  7120.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'CopyItem'">
  7121.                 <xsl:variable name="item">
  7122.                     <xsl:copy-of select="msxsl:node-set($list)/*/*[$index]" />
  7123.                 </xsl:variable>
  7124.  
  7125.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  7126.                     <xsl:value-of select = "$nextSeparator" />
  7127.                 </xsl:if>
  7128.  
  7129.                 <xsl:if test="string-length($item) > 0">
  7130.                     <xsl:copy-of select = "msxsl:node-set($item)/*[1]" />
  7131.                 </xsl:if>
  7132.  
  7133.                 <xsl:call-template name="PrintList2">
  7134.                     <xsl:with-param name="list" select="$list" />
  7135.                     <xsl:with-param name="index" select="$index + 1" />
  7136.                     <xsl:with-param name="nextSeparator">
  7137.                         <xsl:choose>
  7138.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  7139.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7140.                             </xsl:when>
  7141.                             <xsl:otherwise>
  7142.                                 <xsl:value-of select="$nextSeparator" />
  7143.                             </xsl:otherwise>
  7144.                         </xsl:choose>
  7145.                     </xsl:with-param>
  7146.                     <xsl:with-param name="lastTextDisplayed">
  7147.                         <xsl:choose>
  7148.                             <xsl:when test="string-length(msxsl:node-set($item)/*[1]) > 0">
  7149.                                 <xsl:value-of select="msxsl:node-set($item)/*[1]" />
  7150.                             </xsl:when>
  7151.                             <xsl:otherwise>
  7152.                                 <xsl:value-of select="$lastTextDisplayed" />
  7153.                             </xsl:otherwise>
  7154.                         </xsl:choose>
  7155.                     </xsl:with-param>
  7156.                 </xsl:call-template>
  7157.             </xsl:when>
  7158.         </xsl:choose>
  7159.  
  7160.     </xsl:template>
  7161.     
  7162.     <xsl:template name="ApplyItalicTitleNS">
  7163.         <xsl:param name="data" />
  7164.  
  7165.         <xsl:variable name="prop_NoItalics">
  7166.           <xsl:call-template name="templ_prop_NoItalics"/>
  7167.         </xsl:variable>
  7168.  
  7169.         <xsl:choose>
  7170.             <xsl:when test = "$prop_NoItalics = 'yes'">
  7171.                 <xsl:variable name = "prop_TitleOpen">
  7172.                       <xsl:call-template name="templ_prop_TitleOpen"/>
  7173.                 </xsl:variable>
  7174.                 <xsl:variable name = "prop_TitleClose">
  7175.                       <xsl:call-template name="templ_prop_TitleClose"/>
  7176.                 </xsl:variable>
  7177.                 <xsl:variable name = "prop_OpenQuote">
  7178.                       <xsl:call-template name="templ_prop_OpenQuote"/>
  7179.                 </xsl:variable>
  7180.                 <xsl:variable name = "prop_CloseQuote">
  7181.                       <xsl:call-template name="templ_prop_CloseQuote"/>
  7182.                 </xsl:variable>
  7183.                 <xsl:choose>
  7184.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and string-length($prop_OpenQuote) > 0 and string-length($prop_CloseQuote) > 0 and 
  7185.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose) or starts-with($data, $prop_OpenQuote) or (substring($data, string-length($data) - string-length($prop_CloseQuote)) = $prop_CloseQuote))">
  7186.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  7187.                         <xsl:copy-of select="msxsl:node-set($data)" />
  7188.                         <xsl:call-template name="templ_prop_TitleClose"/>
  7189.                     </xsl:when>
  7190.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and 
  7191.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose))">
  7192.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  7193.                         <xsl:copy-of select="msxsl:node-set($data)" />
  7194.                         <xsl:call-template name="templ_prop_TitleClose"/>
  7195.                     </xsl:when>
  7196.                       <xsl:otherwise>
  7197.                         <xsl:copy-of select="msxsl:node-set($data)" />
  7198.                     </xsl:otherwise>
  7199.                 </xsl:choose>
  7200.             </xsl:when>
  7201.             <xsl:otherwise>
  7202.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  7203.                     <xsl:copy-of select="msxsl:node-set($data)" />
  7204.                 </i>
  7205.             </xsl:otherwise>
  7206.         </xsl:choose>
  7207.     </xsl:template>
  7208.  
  7209.     <xsl:template name="ApplyItalicFieldNS">
  7210.         <xsl:param name="data" />
  7211.  
  7212.         <xsl:variable name="prop_NoItalics">
  7213.           <xsl:call-template name="templ_prop_NoItalics"/>
  7214.         </xsl:variable>
  7215.  
  7216.         <xsl:choose>
  7217.             <xsl:when test = "$prop_NoItalics = 'yes'">
  7218.                 <xsl:copy-of select="msxsl:node-set($data)" />
  7219.             </xsl:when>
  7220.             <xsl:otherwise>
  7221.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  7222.                 <xsl:copy-of select="msxsl:node-set($data)" />
  7223.                 </i>
  7224.             </xsl:otherwise>
  7225.         </xsl:choose>
  7226.     </xsl:template>
  7227.  
  7228. </xsl:stylesheet>
  7229.  
  7230.  
  7231.  
  7232.